summaryrefslogtreecommitdiff
path: root/git/objects/commit.py
diff options
context:
space:
mode:
authorSebastian Thiel <byronimo@gmail.com>2015-05-14 10:38:41 +0200
committerSebastian Thiel <byronimo@gmail.com>2015-05-14 10:38:41 +0200
commit83017bce083c58f9a6fb0c7b13db8eeec6859493 (patch)
treeaea30ba8cba250b61da4e2918242d9262c5e368b /git/objects/commit.py
parent2c594195eb614a200e1abb85706ec7b8b7c91268 (diff)
parent9563d27fbde02b8b2a8b0d808759cb235b4e083b (diff)
downloadgitpython-83017bce083c58f9a6fb0c7b13db8eeec6859493.tar.gz
Merge pull request #288 from johnwalker/bytes
Fix type error (startswith expects bytes)
Diffstat (limited to 'git/objects/commit.py')
-rw-r--r--git/objects/commit.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/git/objects/commit.py b/git/objects/commit.py
index f13760fd..ac381cd9 100644
--- a/git/objects/commit.py
+++ b/git/objects/commit.py
@@ -445,7 +445,7 @@ class Commit(base.Object, Iterable, Diffable, Traversable, Serializable):
next_line = readline()
while next_line.startswith(b'mergetag '):
next_line = readline()
- while next_line.startswith(' '):
+ while next_line.startswith(b' '):
next_line = readline()
# end skip mergetags