diff options
author | Sebastian Thiel <byronimo@gmail.com> | 2012-05-17 01:07:59 -0700 |
---|---|---|
committer | Sebastian Thiel <byronimo@gmail.com> | 2012-05-17 01:07:59 -0700 |
commit | a7c4b323bb2d3960430b11134ee59438e16d254e (patch) | |
tree | 1b2f983814033bd9ef3184101756664653797d76 /git | |
parent | d5cbe7d7de5a29c7e714214695df1948319408d0 (diff) | |
parent | 8c2e872f742e7d3c64c7e0fdb85a5d711aff1970 (diff) | |
download | gitpython-a7c4b323bb2d3960430b11134ee59438e16d254e.tar.gz |
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.
Diffstat (limited to 'git')
-rw-r--r-- | git/remote.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/git/remote.py b/git/remote.py index 5e4439fb..f44344ee 100644 --- a/git/remote.py +++ b/git/remote.py @@ -520,7 +520,7 @@ class Remote(LazyMixin, Iterable): # Skip some progress lines that don't provide relevant information fetch_info_lines = list() for line in digest_process_messages(proc.stderr, progress): - if line.startswith('From') or line.startswith('remote: Total'): + if line.startswith('From') or line.startswith('remote: Total') or line.startswitch('POST'): continue elif line.startswith('warning:'): print >> sys.stderr, line |