summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2014-05-16 17:33:29 +0200
committerSebastian Thiel <byronimo@gmail.com>2014-05-16 17:33:29 +0200
commitf9b915b066f28f4ac7382b855a8af11329e3400d (patch)
tree26f0b16b2b62142e8acd44e0e38e14329ac317d3
parent64a4730ea1f9d7b69a1ba09b32c2aad0377bc10a (diff)
parentfe311b917b3cef75189e835bbef5eebd5b76cc20 (diff)
downloadgitpython-f9b915b066f28f4ac7382b855a8af11329e3400d.tar.gz
Merge pull request #163 from nefaspartim/bugfix-142
Fix for #142. Simply ignores lines that begin with ' ='
-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