From: Han-Wen Nienhuys Date: Wed, 23 May 2007 21:49:35 +0000 (-0300) Subject: Thinko, fix buglet. X-Git-Tag: v1.5.3-rc0~65^2^2~32 X-Git-Url: https://git.tokkee.org/?a=commitdiff_plain;h=9320da8dd492c13f1d32b7fde8c9e60bdbd10217;p=git.git Thinko, fix buglet. Signed-off-by: Han-Wen Nienhuys --- diff --git a/contrib/fast-import/git-p4 b/contrib/fast-import/git-p4 index 8a3c53eb8..f1f562fae 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"]