Skip to content

Commit f9b915b

Browse files
committed
Merge pull request gitpython-developers#163 from nefaspartim/bugfix-142
Fix for gitpython-developers#142. Simply ignores lines that begin with ' ='
2 parents 64a4730 + fe311b9 commit f9b915b

File tree

1 file changed

+4
-3
lines changed

1 file changed

+4
-3
lines changed

git/remote.py

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -513,14 +513,15 @@ def update(self, **kwargs):
513513
def _get_fetch_info_from_stderr(self, proc, progress):
514514
# skip first line as it is some remote info we are not interested in
515515
output = IterableList('name')
516-
517-
516+
517+
518518
# lines which are no progress are fetch info lines
519519
# this also waits for the command to finish
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') or line.startswith('POST'):
523+
if line.startswith('From') or line.startswith('remote: Total') or line.startswith('POST') \
524+
or line.startswith(' ='):
524525
continue
525526
elif line.startswith('warning:'):
526527
print >> sys.stderr, line

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy