mbox series

[v11,0/3] mergetool: add hideResolved configuration (was automerge)

Message ID 20210209200712.156540-1-seth@eseth.com (mailing list archive)
Headers show
Series mergetool: add hideResolved configuration (was automerge) | expand

Message

Seth House Feb. 9, 2021, 8:07 p.m. UTC
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(-)

Comments

Junio C Hamano Feb. 9, 2021, 10:11 p.m. UTC | #1
Seth House <seth@eseth.com> writes:

> Changes since v10:
> 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

Thanks for all these iterations.  The resuling series looks good to
me.
Seth House Feb. 9, 2021, 11:27 p.m. UTC | #2
On Tue, Feb 09, 2021 at 02:11:05PM -0800, Junio C Hamano wrote:
> Thanks for all these iterations.  The resuling series looks good to
> me.

Woot! Thanks for all the great feedback and for walking me through the
process. I'm really happy with where this ended up.