Re: how to force a commit date matching info from a mbox ?
From: Christian MICHON <hidden>
Date: 2016-06-15 22:46:00
From: Christian MICHON <hidden>
Date: 2016-06-15 22:46:00
On Fri, Jan 23, 2009 at 1:14 AM, Junio C Hamano [off-list ref] wrote:
Christian MICHON [off-list ref] writes:quoted
I'd like to force the commit date to match the info/date from the time I received the email (and therefore always get back the right sha1sums). is this possible ?"am" being a tool to accept patches written in some past to faithfully record both author timestamp and committer timestamp, what you seem to want is outside of the current scope of the tool. A patch to butcher "git-am" to copy GIT_COMMITTER_DATE from GIT_AUTHOR_DATE and export it should be trivial to implement, though. Perhaps something like this totally untested patch.
I love this idea. I'll try to test it asap. Thanks! -- Christian -- http://detaolb.sourceforge.net/, a linux distribution for Qemu with Git inside !