diff options
author | Han-Wen Nienhuys <hanwen@google.com> | 2007-05-23 23:49:35 +0200 |
---|---|---|
committer | Han-Wen Nienhuys <hanwen@google.com> | 2007-05-30 21:22:57 +0200 |
commit | 9320da8dd492c13f1d32b7fde8c9e60bdbd10217 (patch) | |
tree | ed980ce985fa7d583680ab7703361299f074aa8a /contrib | |
parent | Read p4 files in one batch. (diff) | |
download | git-9320da8dd492c13f1d32b7fde8c9e60bdbd10217.tar.xz git-9320da8dd492c13f1d32b7fde8c9e60bdbd10217.zip |
Thinko, fix buglet.
Signed-off-by: Han-Wen Nienhuys <hanwen@google.com>
Diffstat (limited to 'contrib')
-rwxr-xr-x | contrib/fast-import/git-p4 | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/fast-import/git-p4 b/contrib/fast-import/git-p4 index 8a3c53eb8c..f1f562fae4 100755 --- a/contrib/fast-import/git-p4 +++ b/contrib/fast-import/git-p4 @@ -699,11 +699,11 @@ class P4Sync(Command): assert end >= 0 else: - end = len(specs) - + end = len(data) info['data'] = data[start:end] idx = end + assert idx == len(data) def commit(self, details, files, branch, branchPrefixes, parent = ""): epoch = details["time"] |