Skip to content

mergetool: add hideResolved configuration (was automerge)

Seth House git 6 versions – In review

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v11 Latest3 patches 2 repliesIn review
  2. v103 patches 2 repliesSuperseded
  3. v95 patches 9 repliesSuperseded
Earlier versions · 3
VersionPostedPatchesRepliesStatus
v84 patches5 repliesSuperseded
v72 patches3 repliesSuperseded
v62 patches4 repliesSuperseded

Changes in v11 from the cover letter

- Update the calls to git config to return normalized strings.

Patches in v11 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/3mergetool: add hideResolved configurationDocumentation/config/mergetool.txt git-mergetool.sh t/t7610-mergetool.sh+42 -013 replies
2/3mergetool: break setup_tool out into separate initialization functionDocumentation/git-mergetool--lib.txt git-difftool--helper.sh git-mergetool--lib.sh +1 more+16 -30 replies
3/3mergetool: add per-tool support and overrides for the hideResolved flagDocumentation/config/mergetool.txt git-mergetool--lib.sh git-mergetool.sh+44 -10 replies

Reviews trailers per patch

None of the 3 patches has a Reviewed-by or Acked-by.

PatchFelipe ContrerasJohannes SixtJunio C HamanoSeth House
1/3Original-implementation-by Helped-by
2/3
3/3Helped-by Helped-by

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v11 thread

Cover letter [PATCH v11 0/3] mergetool: add hideResolved configuration (was automerge)

Changes since v10:

- Update the calls to git config to return normalized strings.

Junio, thank you for explaining the existence/omission and normalized strings tristate. I missed that in the docs and that's perfect.

- Adopt Junio's replacement preference hierarchy conditionals to respect opt-ins and not just opt-outs.

Your suggested code worked out-of-box in all the scenarios I could think to test. \o/

- Tweak the mergetool.hideResolved docs to call out the role of LOCAL and REMOTE.

- Reword commit messages and docs to better differentiate between config flags users set and code that merge tool maintainers write.

Seth House (3):
mergetool: add hideResolved configuration
mergetool: break setup_tool out into separate initialization function
mergetool: add per-tool support and overrides for the hideResolved
flag

 Documentation/config/mergetool.txt   | 14 ++++++++
 Documentation/git-mergetool--lib.txt |  4 +++
 git-difftool--helper.sh              |  6 ++++
 git-mergetool--lib.sh                | 11 ++++--
 git-mergetool.sh                     | 52 ++++++++++++++++++++++++++++
 t/t7610-mergetool.sh                 | 18 ++++++++++
 6 files changed, 102 insertions(+), 3 deletions(-)
Signature · 1 line
2.29.2