Skip to content

Commit a7c4b32

Browse files
committed
Merge pull request #42 from gsoltis/0.3
Ignore progress lines from the git http backend that start w/ POST ... -- gsoltis -- A better way to implement this might be to enumerate the things you do want to count, rather than skipping ones you don't. In the meantime, this fixes the error I ran into on my server.
2 parents d5cbe7d + 8c2e872 commit a7c4b32

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git/remote.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -520,7 +520,7 @@ def _get_fetch_info_from_stderr(self, proc, progress):
520520
# Skip some progress lines that don't provide relevant information
521521
fetch_info_lines = list()
522522
for line in digest_process_messages(proc.stderr, progress):
523-
if line.startswith('From') or line.startswith('remote: Total'):
523+
if line.startswith('From') or line.startswith('remote: Total') or line.startswitch('POST'):
524524
continue
525525
elif line.startswith('warning:'):
526526
print >> sys.stderr, line

0 commit comments

Comments
 (0)