Skip to content

Commit 2b93f2a

Browse files
committed
Merge commit 'refs/merge-requests/1108' of git://gitorious.org/git-python/mainline into integration
2 parents ac36642 + bdf2e66 commit 2b93f2a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/git/tree.py

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