Skip to content

Commit c1f56f7

Browse files
committed
Merging request 1108 which allows tree object parsing to deal with whitespace in path names
Merge commit 'refs/merge-requests/1108' of git://gitorious.org/git-python/mainline into integration
2 parents 13ac6b6 + bdf2e66 commit c1f56f7

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/git/tree.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ def content_from_string(repo, text):
4545
``git.Blob`` or ``git.Tree``
4646
"""
4747
try:
48-
mode, typ, id, name = text.expandtabs(1).split(" ", 4)
48+
mode, typ, id, name = text.expandtabs(1).split(" ", 3)
4949
except:
5050
return None
5151

0 commit comments

Comments
 (0)