From: Christian MICHON Date: Fri, 23 Jan 2009 08:08:44 GMT Subject: Re: how to force a commit date matching info from a mbox ? Message-ID: <46d6db660901230008q418f3d3bsc68ca4e9d675cb36@mail.gmail.com> In-Reply-To: <7vljt26fp9.fsf@gitster.siamese.dyndns.org> On Fri, Jan 23, 2009 at 1:14 AM, Junio C Hamano wrote: > Christian MICHON writes: > >> 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 !