Re: git is live

Steinar Bang
2013-11-09T18:28:46Z

>>>>> Andreas Schwab <schwab@linux-m68k.org>:

> Pedro Alves <palves@redhat.com> writes:
>> Yeah. Oh well, not a show stopper. Maybe I'll find a way to tell
>> git to treat a range of commits as a single commit for blame/log
>> purposes, so that "git blame" punches through that hole.

> You can do that with grafts or replace objects (which can change your
> view of the commit graph by pretending that a commit has a different
> parent).

A blog article on git replace here (by the "Pro git" author):
http://git-scm.com/blog/2010/03/17/replace.html

In short: in a "git rewrite", there will be a file created, that has the
sha1 of the original commit as its name, and the sha1 of a new commit
that should be used instead, as its content.