summaryrefslogtreecommitdiff
path: root/git/remote.py
diff options
context:
space:
mode:
authorDerek D. Fedel <dfedel@zappos.com>2014-05-16 08:00:29 -0700
committerDerek D. Fedel <dfedel@zappos.com>2014-05-16 08:00:29 -0700
commitfe311b917b3cef75189e835bbef5eebd5b76cc20 (patch)
tree26f0b16b2b62142e8acd44e0e38e14329ac317d3 /git/remote.py
parent64a4730ea1f9d7b69a1ba09b32c2aad0377bc10a (diff)
downloadgitpython-fe311b917b3cef75189e835bbef5eebd5b76cc20.tar.gz
Fix for #142. Simply ignores lines that begin with ' ='
Diffstat (limited to 'git/remote.py')
-rw-r--r--git/remote.py7
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