This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: git is live


>>>>> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]