We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents 17643e0 + 4fbf0ef commit bb02e12Copy full SHA for bb02e12
1 file changed
git/remote.py
@@ -612,7 +612,7 @@ def stale_refs(self) -> IterableList:
612
# * [would prune] origin/new_branch
613
token = " * [would prune] "
614
if not line.startswith(token):
615
- raise ValueError("Could not parse git-remote prune result: %r" % line)
+ continue
616
ref_name = line.replace(token, "")
617
# sometimes, paths start with a full ref name, like refs/tags/foo, see #260
618
if ref_name.startswith(Reference._common_path_default + '/'):
0 commit comments