Skip to content

Commit 9563d27

Browse files
committed
Fix type error (startswith expects bytes)
1 parent 2c59419 commit 9563d27

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

‎git/objects/commit.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -445,7 +445,7 @@ def _deserialize(self, stream):
445445
next_line = readline()
446446
while next_line.startswith(b'mergetag '):
447447
next_line = readline()
448-
while next_line.startswith(' '):
448+
while next_line.startswith(b' '):
449449
next_line = readline()
450450
# end skip mergetags
451451

0 commit comments

Comments
 (0)