Skip to content
This repository has been archived by the owner on May 22, 2019. It is now read-only.

Commit

Permalink
Fix bug in Storage.ls_tree() for git filenames containing TAB chara…
Browse files Browse the repository at this point in the history
…cters
  • Loading branch information
hvr committed Oct 17, 2010
1 parent 3517167 commit bc7258d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tracext/git/PyGIT.py
Expand Up @@ -619,7 +619,7 @@ def ls_tree(self, rev, path=""):
def split_ls_tree_line(l):
"split according to '<mode> <type> <sha> <size>\t<fname>'"

meta, fname = l.split('\t')
meta, fname = l.split('\t', 1)
_mode, _type, _sha, _size = meta.split()

if _size == '-':
Expand Down

0 comments on commit bc7258d

Please sign in to comment.