Web lists-archives.com

Re: [PATCH 2/2] fix cherry-pick/revert status after commit




On 01/04/2019 09:34, Junio C Hamano wrote:
Phillip Wood <phillip.wood123@xxxxxxxxx> writes:

From: Phillip Wood <phillip.wood@xxxxxxxxxxxxx>

If the user commits a conflict resolution using 'git commit' during a
sequence of picks then 'git status' missed the fact that a
cherry-pick/revert is still in progress.

How well would this play with the previous step?  Didn't the change
to builtin/commit.c made in [1/2] mean that after 'git commit' that
concludes the last step, there is nothing 'git status' to notice?

You're right about the final pick in a sequence but the idea here is that if the user runs 'git commit' in the middle of a sequence of cherry-picks then we want 'git status' to report that a cherry-pick is in progress.

Best Wishes

Phillip