Re: [PATCH 0/7] Add a new --remerge-diff capability to show & log

2 messages, 2 authors, 2021-09-01 · open the first message on its own page

Re: [PATCH 0/7] Add a new --remerge-diff capability to show & log

From: Junio C Hamano <hidden>
Date: 2021-09-01 21:08:03

"Elijah Newren via GitGitGadget" [off-list ref] writes:
Here are some patches to add a --remerge-diff capability to show & log,
One sad omission from the maintainer usecase is that we do not seem
to know "git diff --remerge-diff" yet during a conflicted merge.

"git diff [-- <path>]" before recording the resolution for the path
with "git add <path>" shows combined patch to give a final sanity
check before committing it to the rerere database.  I am wondering
if viewing it in the --remrege-diff format instead would help this
step even more.


Re: [PATCH 0/7] Add a new --remerge-diff capability to show & log

From: Elijah Newren <hidden>
Date: 2021-09-01 21:42:29

On Wed, Sep 1, 2021 at 2:08 PM Junio C Hamano [off-list ref] wrote:
"Elijah Newren via GitGitGadget" [off-list ref] writes:
quoted
Here are some patches to add a --remerge-diff capability to show & log,
One sad omission from the maintainer usecase is that we do not seem
to know "git diff --remerge-diff" yet during a conflicted merge.

"git diff [-- <path>]" before recording the resolution for the path
with "git add <path>" shows combined patch to give a final sanity
check before committing it to the rerere database.  I am wondering
if viewing it in the --remrege-diff format instead would help this
step even more.
We do have `git diff AUTO_MERGE`, though.  It's not quite the same as
it doesn't include all the "CONFLICT" messages shown in the terminal
like --remerge-diff does with log/show, but otherwise it's the same.
Perhaps we could even alias `git diff --remerge-diff` to `git diff
AUTO_MERGE`?

See commit 5291828df838 (merge-ort: write $GIT_DIR/AUTO_MERGE whenever
we hit a conflict, 2021-03-20) for more details.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help