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

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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy