git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Christian MICHON <christian.michon@gmail.com>
To: git list <git@vger.kernel.org>
Subject: how to force a commit date matching info from a mbox ?
Date: Thu, 22 Jan 2009 23:41:12 +0100	[thread overview]
Message-ID: <46d6db660901221441q60eb90bdge601a7a250c3a247@mail.gmail.com> (raw)

Hi list,

I've a big set of patches in a mbox file: there's sufficient info
inside for git-am to work.

Yet, each time I do import these, my sha1sums are changing because of
different commit dates.

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 ?

There's hundreds of these patches: I'm looking for the right switch or
1 liner trick instead of a long shell script which will import 1 by 1
the patches and force the commit date by environment.

TIA

-- 
Christian
--
http://detaolb.sourceforge.net/, a linux distribution for Qemu with Git inside !

             reply	other threads:[~2009-01-22 22:42 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-01-22 22:41 Christian MICHON [this message]
2009-01-23  0:14 ` how to force a commit date matching info from a mbox ? Junio C Hamano
2009-01-23  8:08   ` Christian MICHON
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=46d6db660901221441q60eb90bdge601a7a250c3a247@mail.gmail.com \
    --to=christian.michon@gmail.com \
    --cc=git@vger.kernel.org \
    /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).