Johannes Sixt <j6t@xxxxxxxx> writes: > Good point! IMO, REBASE_HEAD should have lower precedence than all the > other *_HEADs. It would mean to reorder the entries: > > static const char *const other_head[] = { > "MERGE_HEAD", "CHERRY_PICK_HEAD", "REVERT_HEAD", "REBASE_HEAD" > }; > > (and perhaps adjust the error message, too). And probably give a warning saying that we noticed you are rebasing and cherry-picking and we chose to show the --merge based on the relationship between cherry-pick-head and head, ignoring your rebase status, or something.