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

Commit2ab454f

Browse files
committed
remote: parsing of fetch information now reacts to fatal errors. Previously it would just bump into an assertion
1 parent7dd6186 commit2ab454f

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

‎lib/git/remote.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -595,6 +595,8 @@ def _get_fetch_info_from_stderr(self, proc, progress):
595595
elifline.startswith('warning:'):
596596
print>>sys.stderr,line
597597
continue
598+
elifline.startswith('fatal:'):
599+
raiseGitCommandError("Error when fetching: %s"%line)
598600
# END handle special messages
599601
fetch_info_lines.append(line)
600602
# END for each line

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp