summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcontrib/fast-import/git-p44
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"]