git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Paul Richards <paul.richards@gmail.com>
To: git@vger.kernel.org
Subject: Alter parent ID of existing commit object
Date: Mon, 26 Apr 2010 11:13:53 +0100	[thread overview]
Message-ID: <n2xa1138db31004260313jcd22b2ebw403ca2bd547e784b@mail.gmail.com> (raw)

Hi,
Is it possible to edit an old commit object and only alter the ID of
the parent commit but otherwise leave all the other information intact
(tree, message, authors, date, etc).

I'd expect such a command to return the new hash of the modified commit.



-- 
Paul Richards

             reply	other threads:[~2010-04-26 10:14 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-04-26 10:13 Paul Richards [this message]
2010-04-26 10:38 ` Alter parent ID of existing commit object Jonathan Nieder
2010-04-26 11:02   ` Paul Richards
2010-04-26 23:34   ` 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=n2xa1138db31004260313jcd22b2ebw403ca2bd547e784b@mail.gmail.com \
    --to=paul.richards@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).