projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f9a3a4f
)
Fix file determination for #head imports
author
Simon Hausmann
<simon@lst.de>
Sun, 8 Apr 2007 08:13:32 +0000
(10:13 +0200)
committer
Simon Hausmann
<simon@lst.de>
Sun, 8 Apr 2007 08:13:32 +0000
(10:13 +0200)
Signed-off-by: Simon Hausmann <simon@lst.de>
contrib/fast-import/git-p4
patch
|
blob
|
history
diff --git
a/contrib/fast-import/git-p4
b/contrib/fast-import/git-p4
index 0a22d9a2e47e9f56b1f1cd0de92dbd99001b8ae0..28b088544b157342614383177bc7a7a707889531 100755
(executable)
--- 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" ]: