diff options
author | Guido Günther <agx@sigxcpu.org> | 2011-04-06 20:27:29 +0200 |
---|---|---|
committer | Guido Günther <agx@sigxcpu.org> | 2011-04-06 20:34:58 +0200 |
commit | 138981ae049ff291753eba4e4bc236a12b641e60 (patch) | |
tree | 631d01df5f9f585e0afc1c1c7cfd5a19c14fd7a2 /gbp | |
parent | dff62f20a00b7fde5f13754fb473c31aa5f91296 (diff) |
Revert "gbp: restrict splitting output of ls-tree to 3, since filenames might contain spaces"
This reverts commit 8f14b0ace5934c27261f388820f5c3c587c97fba.
Diffstat (limited to 'gbp')
-rw-r--r-- | gbp/git.py | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -536,8 +536,7 @@ class GitRepository(object): out, ret = self.__git_getoutput('ls-tree', args, cwd=path) for line in out: - # Restrict to 3 splits, since filenames might contain spaces - mode, objtype, commit, name = line.split(None, 3) + mode, objtype, commit, name = line.split() # A submodules is shown as "commit" object in ls-tree: if objtype == "commit": nextpath = os.path.sep.join([path, name]) |