Skip to content

Commit 79a5fe8

Browse files
committed
cmd/git(fix[GitRemoteManager]): Fix invalid doctest using quiet parameter
why: The doctest used quiet=True, but git remote has no --quiet flag. With kwargs passthrough now working, this caused a TypeError. what: - Replace quiet=True with check_returncode=False in doctest
1 parent ea59519 commit 79a5fe8

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/libvcs/cmd/git.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4179,7 +4179,7 @@ def __init__(
41794179
>>> GitRemoteManager(path=tmp_path)
41804180
<GitRemoteManager path=...>
41814181
4182-
>>> GitRemoteManager(path=tmp_path).run(quiet=True)
4182+
>>> GitRemoteManager(path=tmp_path).run(check_returncode=False)
41834183
'fatal: not a git repository (or any of the parent directories): .git'
41844184
41854185
>>> GitRemoteManager(

0 commit comments

Comments
 (0)