Request for adding a "clean" merge strategy for a double-commit merge to deal with conflicts separately
- From
- Alireza <rezaxm@gmail.com>
- Date
- Jul 16, 2020, 17:15 UTC
- Message-ID
- <CAD9n_qh0y84HC6sX1OxXWWv8dDMMA_tPv9zRknePVivQq_rfww@mail.gmail.com>
Hi,
Even though the merge commit's message includes conflicted files by default, the *resolution* itself is lost, that is, it's hard or impossible to review how the author *resolved* said conflicts.
The proposal is that an option like `-X clean` would commit a clean merge and leave out any conflicting hunks in the tree for a follow-up commit to resolve conflicts.
That would be extremely helpful for a code reviewer to see how a possibly external contributor has dealt with upstream changes e.g. in a long-standing branch.
Any comment would be appreciated.
Thanks, Alireza