projects
/
git.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
53b0323
)
Set git fast-import marks for every imported change for future use.
author
Simon Hausmann
<simon@lst.de>
Mon, 12 Feb 2007 20:56:46 +0000
(21:56 +0100)
committer
Simon Hausmann
<simon@lst.de>
Mon, 12 Feb 2007 20:56:46 +0000
(21:56 +0100)
Signed-off-by: Simon Hausmann <simon@lst.de>
contrib/fast-import/p4-fast-export.py
patch
|
blob
|
history
diff --git
a/contrib/fast-import/p4-fast-export.py
b/contrib/fast-import/p4-fast-export.py
index 5838ca3c684959a351b6dbce99dd28b02182967b..488533b07e094d5f94e0ae516d9c657ef76a25a4 100755
(executable)
--- a/
contrib/fast-import/p4-fast-export.py
+++ b/
contrib/fast-import/p4-fast-export.py
@@
-154,6
+154,7
@@
def commit(details, files, branch, branchPrefix):
author = details["user"]
gitStream.write("commit %s\n" % branch)
+ gitStream.write("mark :%s\n" % details["change"])
committer = ""
if author in users:
committer = "%s %s %s" % (users[author], epoch, tz)