8000 Merge pull request #288 from johnwalker/bytes · pythonthings/GitPython@83017bc · GitHub
[go: up one dir, main page]

Skip to content

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit 83017bc

Browse files
committed
Merge pull request gitpython-developers#288 from johnwalker/bytes
Fix type error (startswith expects bytes)
2 parents 2c59419 + 9563d27 commit 83017bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

git/objects/commit.py

Lines changed: 1 addition & 1 deletion
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)
0