Skip to content

merge -Xindex-only

Thomas Rast git 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest3 patches 8 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3merge-recursive: remove dead conditional in update_stages()merge-recursive.c+2 -40 replies
2/3merge-recursive: untangle double meaning of o->call_depthmerge-recursive.c merge-recursive.h+22 -171 reply
3/3merge-recursive: -Xindex-only to leave worktree unchangedDocumentation/merge-strategies.txt merge-recursive.c t/t3030-merge-recursive.sh+19 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [PATCH 0/3] merge -Xindex-only

[Michael, sorry for the double mail -- I typoed the list address on the first round.]

I recently looked into making merge-recursive more useful as a modular piece in various tasks, e.g. Michael's git-imerge and the experiments I made in showing evil merges.

This miniseries is the extremely low-hanging fruit. If it makes a good first step for git-imerge, perhaps it can go in like this. It's not a big speedup (about 2.2s vs 2.4s in a sample conflicting merge in git.git), but it does feel much cleaner to avoid touching the worktree unless actually necessary.

Otherwise it's probably not worth it just yet; for what I want to do with it, we need some more reshuffling of things.

Thomas Rast (3):
merge-recursive: remove dead conditional in update_stages()
merge-recursive: untangle double meaning of o->call_depth
merge-recursive: -Xindex-only to leave worktree unchanged

 Documentation/merge-strategies.txt |  4 ++++
 merge-recursive.c                  | 46 +++++++++++++++++++++-----------------
 merge-recursive.h                  |  1 +
 t/t3030-merge-recursive.sh         | 13 +++++++++++
 4 files changed, 43 insertions(+), 21 deletions(-)
Signature · 1 line
1.8.3.2.908.gbd0dbd0