Re: How to set git commit timestamp

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

 



söndag 06 maj 2007 skrev Guido Ostkamp:
> Hello,
> 
> does somebody know a method to specify a timestamp for a 'git commit'?
> 
> I am writing a tool to convert from another SCM to git and need to replay 
> all checkins. I know how to set the log message and the author, but there 
> appears to be no command option for the timestamp (Mercurial for example, 
> has a 'hg commit -d date <file>' syntax for this).

If you are writing a converter then you should really use the plumbing 
commands rather than porcelains like git-commit and in particular you should 
look at git-fast-import for a  really fast methord of importing (and packing) 
objects.

-- robin
-
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]