summaryrefslogtreecommitdiff
path: root/git/repo/base.py
diff options
context:
space:
mode:
Diffstat (limited to 'git/repo/base.py')
-rw-r--r--git/repo/base.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/repo/base.py b/git/repo/base.py
index af3050bf..32ee830e 100644
--- a/git/repo/base.py
+++ b/git/repo/base.py
@@ -685,7 +685,7 @@ class Repo(object):
stream = iter(data.split(b'\n'))
while True:
line = next(stream) # when exhausted, casues a StopIteration, terminating this function
- if line.strip() == '':
+ if line.strip() == '' or line.strip() == b'':
# Skip over empty lines
continue
hexsha, orig_lineno, lineno, num_lines = line.split()