diff options
author | Derek D. Fedel <dfedel@zappos.com> | 2014-05-16 08:00:29 -0700 |
---|---|---|
committer | Derek D. Fedel <dfedel@zappos.com> | 2014-05-16 08:00:29 -0700 |
commit | fe311b917b3cef75189e835bbef5eebd5b76cc20 (patch) | |
tree | 26f0b16b2b62142e8acd44e0e38e14329ac317d3 /git/remote.py | |
parent | 64a4730ea1f9d7b69a1ba09b32c2aad0377bc10a (diff) | |
download | gitpython-fe311b917b3cef75189e835bbef5eebd5b76cc20.tar.gz |
Fix for #142. Simply ignores lines that begin with ' ='
Diffstat (limited to 'git/remote.py')
-rw-r--r-- | git/remote.py | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/git/remote.py b/git/remote.py index f89e9d83..becfbd25 100644 --- a/git/remote.py +++ b/git/remote.py @@ -513,14 +513,15 @@ class Remote(LazyMixin, Iterable): def _get_fetch_info_from_stderr(self, proc, progress): # skip first line as it is some remote info we are not interested in output = IterableList('name') - - + + # lines which are no progress are fetch info lines # this also waits for the command to finish # 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') or line.startswith('POST'): + if line.startswith('From') or line.startswith('remote: Total') or line.startswith('POST') \ + or line.startswith(' ='): continue elif line.startswith('warning:'): print >> sys.stderr, line |