Re: how to force a commit date matching info from a mbox ?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Thu, 22 Jan 2009, Christian MICHON wrote:

> 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 ?

Have you tried setting GIT_COMMITTER_DATE to the given date?

Alternatively, you can always use a commit-message filter with 
filter-branch to fix it up.

Ciao,
Dscho
--
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux