Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit4fbf0ef

Browse files
committed
Don't raise on unknown line when parsing stale refs (#1262)
1 parent17643e0 commit4fbf0ef

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎git/remote.py‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -612,7 +612,7 @@ def stale_refs(self) -> IterableList:
612612
# * [would prune] origin/new_branch
613613
token=" * [would prune] "
614614
ifnotline.startswith(token):
615-
raiseValueError("Could not parse git-remote prune result: %r"%line)
615+
continue
616616
ref_name=line.replace(token,"")
617617
# sometimes, paths start with a full ref name, like refs/tags/foo, see #260
618618
ifref_name.startswith(Reference._common_path_default+'/'):

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2026 Movatter.jp