diff options
author | Jed Brown <jed@59A2.org> | 2013-03-27 17:32:54 -0500 |
---|---|---|
committer | Jed Brown <jed@59A2.org> | 2013-03-27 17:33:53 -0500 |
commit | 62e7fae0f8168521dfe0bebb69cdbe4d2aa5efca (patch) | |
tree | 80c1dea3a0a904121436309cc57411c4f6949771 | |
parent | eadb17bc73f7306fc008aa17ae41276ebbfcc495 (diff) | |
download | git-fat-62e7fae0f8168521dfe0bebb69cdbe4d2aa5efca.tar.gz |
Fix reading lines from 'git ls-files -s'
Reverts mistake from 62932e0f74102d3c65a0e3e6e2de3673e64741d8
-rwxr-xr-x | git-fat | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -436,7 +436,7 @@ class GitFat(object): filelist = set(f.strip() for f in open(args[0]).readlines()) lsfiles = subprocess.Popen(['git', 'ls-files', '-s'], stdout=subprocess.PIPE) updateindex = subprocess.Popen(['git', 'update-index', '--index-info'], stdin=subprocess.PIPE) - for line in lsfiles.stdout.read(): + for line in lsfiles.stdout: mode, sep, tail = line.partition(b' ') blobhash, sep, tail = tail.partition(b' ') stageno, sep, tail = tail.partition(b'\t') |