git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Christian MICHON" <christian.michon@gmail.com>
To: git <git@vger.kernel.org>
Subject: how to change/fake the time for next commit ?
Date: Fri, 23 Nov 2007 01:29:45 +0100	[thread overview]
Message-ID: <46d6db660711221629j5d294a5dp4771778e38b14962@mail.gmail.com> (raw)

Hi Git list,

I'd like to recreate a git repo with kernel version, using exclusively
tar.bz2 files.

I already did such approach in the past by script, but usually the
dates of commit are the timestamps of current tar imports. I'd like
the date of commit to match any date I would give (without changing
the time on my linux system): the date I would give would be (of
course) the date of the released version.

example: date of 2.6.23.8 release was 2007-11-16 18:16 UTC, so if I
import linux-2.6.23.8.tar.bz2 into a dedicated "2.6.23.8" branch, I'd
like the commit to have "2007-11-16 18:16 UTC" as date.

Is there a way to do this, by plumbing or porcelain ?

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

             reply	other threads:[~2007-11-23  0:30 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-11-23  0:29 Christian MICHON [this message]
2007-11-23  0:34 ` how to change/fake the time for next commit ? Johannes Schindelin
2007-11-23  0:45   ` Christian MICHON
2007-11-23  7:20 ` Johannes Sixt

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=46d6db660711221629j5d294a5dp4771778e38b14962@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).