summaryrefslogtreecommitdiff
path: root/git/remote.py
diff options
context:
space:
mode:
Diffstat (limited to 'git/remote.py')
-rw-r--r--git/remote.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/git/remote.py b/git/remote.py
index d35e1fad..5d31a442 100644
--- a/git/remote.py
+++ b/git/remote.py
@@ -625,8 +625,8 @@ class Remote(LazyMixin, Iterable):
for pline in progress_handler(line):
# END handle special messages
for cmd in cmds:
- if len(pline) > 1 and pline[0] == ' ' and pline[1] == cmd:
- fetch_info_lines.append(pline)
+ if len(line) > 1 and line[0] == ' ' and line[1] == cmd:
+ fetch_info_lines.append(line)
continue
# end find command code
# end for each comand code we know