From: Robin Rosenberg <robin.rosenberg.lists@dewire•com>
To: Guido Ostkamp <git@ostkamp•fastmail.fm>
Cc: git@vger•kernel.org
Subject: Re: How to set git commit timestamp
Date: Sun, 6 May 2007 21:51:11 +0200 [thread overview]
Message-ID: <200705062151.40261.robin.rosenberg.lists@dewire.com> (raw)
In-Reply-To: <Pine.LNX.4.64.0705061759210.8165@bianca.dialin.t-online.de>
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
next prev parent reply other threads:[~2007-05-06 19:52 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2007-05-06 16:03 How to set git commit timestamp Guido Ostkamp
2007-05-06 16:41 ` Alex Riesen
2007-05-06 17:26 ` René Scharfe
2007-05-06 19:51 ` Robin Rosenberg [this message]
2007-05-08 1:38 ` Shawn O. Pearce
2007-05-08 1:54 ` Jakub Narebski
2007-05-08 1:57 ` Shawn O. Pearce
2007-05-08 11:29 ` Johannes Schindelin
2007-05-11 10:58 ` Jakub Narebski
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=200705062151.40261.robin.rosenberg.lists@dewire.com \
--to=robin.rosenberg.lists@dewire$(echo .)com \
--cc=git@ostkamp$(echo .)fastmail.fm \
--cc=git@vger$(echo .)kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
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