From: Simon Hausmann Date: Mon, 12 Feb 2007 20:56:46 +0000 (+0100) Subject: Set git fast-import marks for every imported change for future use. X-Git-Tag: v1.5.3-rc0~65^2^2~206 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=77083daac72612ab8ded6cba82a72924f3a867b4;p=git.git Set git fast-import marks for every imported change for future use. Signed-off-by: Simon Hausmann --- diff --git a/contrib/fast-import/p4-fast-export.py b/contrib/fast-import/p4-fast-export.py index 5838ca3c6..488533b07 100755 --- 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)