]> git.ipfire.org Git - thirdparty/git.git/commit
Documentation/git-merge-tree.adoc: clarify the --merge-base option
authorElijah Newren <newren@gmail.com>
Thu, 2 Oct 2025 22:34:47 +0000 (22:34 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 3 Oct 2025 16:56:25 +0000 (09:56 -0700)
commit1c573a34516ab869487ff1212e3244efdc1c402f
treeb2d731824f5d40d5370f91aceb970df3796a6ebd
parentc44beea485f0f2feaf460e2ac87fdd5608d63cf0
Documentation/git-merge-tree.adoc: clarify the --merge-base option

The --merge-base option for merge-tree has a few slightly awkward
constructions or omissions:
  * Split the initial long sentence describing the option into two,
    making the instructions and the limitations clearer for readers.
  * Add context to the final sentence that might be obvious to some
    readers but isn't immediately obvious to all.
  * The discussion about lack of support for multiple merge bases
    simply leave folks wondering why that matters and could help or
    hurt.  Separate it out and add a brief explanation.

Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-merge-tree.adoc