Re: Newbie: report of first experience with git-rebase.

!MAILaRCHIVE_VOTE_RePLACE
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Johannes Schindelin <Johannes.Schindelin@...>
Cc: Sergei Organov <osv@...>, <git@...>
Date: Wednesday, October 31, 2007 - 5:39 pm

Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:


In case it is not obvious...

A rebase conflict resolution that results in emptiness is a
rather rare event (especially because rebase drops upfront the
identical changes from the set of commits to be replayed), but
it does happen.  One could argue that "rebase --continue" can
notice that the resolved index is identical to the tree of the
HEAD commit and skip it automatically.

Given an index that is identical to HEAD, however, it is not
easy to safely determine if that is because the patch did not
apply at all, or the patch was applied with conflicts _and_ the
user decided to make the patch a no-op by resolving.  The
automatic droppage of the commit needs to happen only on the
latter and never on the former.

-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Newbie: report of first experience with git-rebase., Sergei Organov, (Wed Oct 31, 3:39 pm)
Re: Newbie: report of first experience with git-rebase., Sergei Organov, (Wed Oct 31, 4:28 pm)
Re: Newbie: report of first experience with git-rebase., Johannes Schindelin, (Wed Oct 31, 5:12 pm)
Re: Newbie: report of first experience with git-rebase., David Kastrup, (Wed Oct 31, 6:49 pm)
Re: Newbie: report of first experience with git-rebase., Junio C Hamano, (Wed Oct 31, 5:39 pm)
Re: Newbie: report of first experience with git-rebase., Sergei Organov, (Thu Nov 1, 8:13 am)
Re: Newbie: report of first experience with git-rebase., Johannes Schindelin, (Thu Nov 1, 10:24 am)
Re: Newbie: report of first experience with git-rebase., J. Bruce Fields, (Thu Nov 1, 11:10 am)
Re: Newbie: report of first experience with git-rebase., Nicolas Pitre, (Wed Oct 31, 10:27 pm)
Re: Newbie: report of first experience with git-rebase., David Kastrup, (Wed Oct 31, 6:53 pm)
Re: Newbie: report of first experience with git-rebase., J. Bruce Fields, (Wed Oct 31, 5:29 pm)
Re: Newbie: report of first experience with git-rebase., Steven Grimm, (Wed Oct 31, 6:06 pm)
Re: Newbie: report of first experience with git-rebase., J. Bruce Fields, (Wed Oct 31, 6:38 pm)
Re: Newbie: report of first experience with git-rebase., Daniel Barkalow, (Wed Oct 31, 6:35 pm)