summaryrefslogtreecommitdiff
path: root/contrib/fast-import/git-p4
diff options
context:
space:
mode:
authorLibravatar Simon Hausmann <simon@lst.de>2007-04-08 10:13:32 +0200
committerLibravatar Simon Hausmann <simon@lst.de>2007-04-08 10:13:32 +0200
commitc45b1cfe1eda2cc67c4f07a0cd6986911d7c2fd8 (patch)
tree3062f6e6d57ecb0081fbfdc48cc05a111b9de5b0 /contrib/fast-import/git-p4
parentAdded git-p4 clone convenience command (diff)
downloadtgif-c45b1cfe1eda2cc67c4f07a0cd6986911d7c2fd8.tar.xz
Fix file determination for #head imports
Signed-off-by: Simon Hausmann <simon@lst.de>
Diffstat (limited to 'contrib/fast-import/git-p4')
-rwxr-xr-xcontrib/fast-import/git-p43
1 files changed, 2 insertions, 1 deletions
diff --git a/contrib/fast-import/git-p4 b/contrib/fast-import/git-p4
index 0a22d9a2e4..28b088544b 100755
--- a/contrib/fast-import/git-p4
+++ b/contrib/fast-import/git-p4
@@ -938,7 +938,8 @@ class P4Sync(Command):
newestRevision = change
if info["action"] == "delete":
- fileCnt = fileCnt + 1
+ # don't increase the file cnt, otherwise details["depotFile123"] will have gaps!
+ #fileCnt = fileCnt + 1
continue
for prop in [ "depotFile", "rev", "action", "type" ]: