git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@linux-m68k.org>
To: Antriksh Pany <antriksh.pany@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: Need to change old commit (and regenerate tree)
Date: Fri, 21 May 2010 00:09:19 +0200	[thread overview]
Message-ID: <m2sk5mtecw.fsf@igel.home> (raw)
In-Reply-To: <AANLkTilTAknKPFv5AZBrwsITPsRlVSnsuX8TDXlUTWmw@mail.gmail.com> (Antriksh Pany's message of "Thu, 20 May 2010 20:17:03 +0100")

Antriksh Pany <antriksh.pany@gmail.com> writes:

> Instead of (what I initially expected):
>
> A--------o--------o--------o--------o(old B)--------o--------o--------o(old C)
>
> A2--------o--------o--------o--------B--------o--------o--------C
>
>
> So what I am missing here? Aren't the new commits B~1, B~2, B~3
> identical to C~4, C~5, C~6 (respectively) in all ways so as to have
> gotten them the same SHA1 and hence appear as what I expected them to
> appear?

No, they have a different commit time, which is also part of the hash.

Andreas.

-- 
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

  reply	other threads:[~2010-05-20 22:09 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-05-20 19:17 Need to change old commit (and regenerate tree) Antriksh Pany
2010-05-20 22:09 ` Andreas Schwab [this message]
2010-05-20 23:05   ` Jon Seymour
2010-05-21 18:18     ` Antriksh Pany
2010-05-21  5:31   ` Geert Uytterhoeven
2010-05-21 21:46     ` Antriksh Pany

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=m2sk5mtecw.fsf@igel.home \
    --to=schwab@linux-m68k.org \
    --cc=antriksh.pany@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).