From: Christian MICHON <christian.michon@gmail.com>
To: Junio C Hamano <gitster@pobox.com>
Cc: git list <git@vger.kernel.org>
Subject: Re: how to force a commit date matching info from a mbox ?
Date: Fri, 23 Jan 2009 09:08:44 +0100 [thread overview]
Message-ID: <46d6db660901230008q418f3d3bsc68ca4e9d675cb36@mail.gmail.com> (raw)
In-Reply-To: <7vljt26fp9.fsf@gitster.siamese.dyndns.org>
On Fri, Jan 23, 2009 at 1:14 AM, Junio C Hamano <gitster@pobox.com> wrote:
> Christian MICHON <christian.michon@gmail.com> 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 !
next prev parent reply other threads:[~2009-01-23 8:10 UTC|newest]
Thread overview: 19+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-01-22 22:41 how to force a commit date matching info from a mbox ? Christian MICHON
2009-01-23 0:14 ` Junio C Hamano
2009-01-23 8:08 ` Christian MICHON [this message]
2009-01-23 8:51 ` Christian MICHON
2009-01-23 0:21 ` Johannes Schindelin
2009-01-23 8:07 ` Christian MICHON
2009-01-23 0:45 ` Nanako Shiraishi
2009-01-23 7:37 ` Junio C Hamano
2009-01-23 8:26 ` Nanako Shiraishi
2009-01-23 9:39 ` Junio C Hamano
2009-01-23 22:29 ` Jeff King
2009-01-24 0:34 ` Johannes Schindelin
2009-01-24 0:52 ` Jeff King
2009-01-24 1:43 ` Johannes Schindelin
2009-01-24 2:35 ` Jeff King
2009-01-23 9:52 ` Nanako Shiraishi
2009-01-23 17:27 ` Junio C Hamano
2009-01-23 12:38 ` [PATCH] git-am: Add --ignore-date option Johannes Schindelin
2009-01-23 13:17 ` Adeodato Simó
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=46d6db660901230008q418f3d3bsc68ca4e9d675cb36@mail.gmail.com \
--to=christian.michon@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).