summaryrefslogtreecommitdiff
path: root/lib/git/tree.py
diff options
context:
space:
mode:
Diffstat (limited to 'lib/git/tree.py')
-rw-r--r--lib/git/tree.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/git/tree.py b/lib/git/tree.py
index dea10908..cfb0881c 100644
--- a/lib/git/tree.py
+++ b/lib/git/tree.py
@@ -45,7 +45,7 @@ class Tree(LazyMixin):
``git.Blob`` or ``git.Tree``
"""
try:
- mode, typ, id, name = text.expandtabs(1).split(" ", 4)
+ mode, typ, id, name = text.expandtabs(1).split(" ", 3)
except:
return None