Re: [PATCH 16/18] revert: Remove sequencer state when no commits are pending
- From
Ramkumar Ramachandra <artagnon@gmail.com>
- Date
- Jul 27, 2011, 09:42 UTC
- Message-ID
- <CALkWK0noPtLgr_t=DC_XFdLrWUNCLhUd00Mw1HbmWRJjeT4jew@mail.gmail.com>
- In-Reply-To
- <20110727051755.GK18470@elie>
Hi again,
Jonathan Nieder writes:
Show 7 quoted lines
> Ramkumar Ramachandra wrote: >> Change this so that the sequencer state is cleared when a conflict is >> encountered in the last commit. > > This defeats the point of keeping a ".git/sequencer/head" file. Why > not remove the cherry-pick state when it is known no longer to be needed, > namely after the conflict resolution is commited?
Sounds nice in theory, but how do we do it? Remove the state at "git commit" time? I've already thought about the problem and presented my arguments here [1].
[1]: http://article.gmane.org/gmane.comp.version-control.git/177465
-- Ram