git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH] mergetool,difftool: Document --tool-help consistently

From
Sebastian Schuberth <sschuberth@gmail.com>
Date
Aug 10, 2012, 07:17 UTC
Message-ID
<CAHGBnuMCLkALCCAp1MiwQ1J+TuUhD=4k3LTGP2BMrp1LThb=HQ@mail.gmail.com>
In-Reply-To
<1344574365-5534-1-git-send-email-davvid@gmail.com>
On Fri, Aug 10, 2012 at 6:52 AM, David Aguilar <davvid@gmail.com> wrote:
Show 6 quoted lines
> Add an entry for --tool-help to the mergetool documentation.
>
> Move --tool-help in the difftool documentation so that it is
> listed immediately after --tool so that it is easier to find.
>
> Signed-off-by: David Aguilar <davvid@gmail.com>

Funny, I was doing almost the same thing in [1], so I obviously like it. Back then Junio found it "Meh" because "it already is mentioned in the description of --tool above", but I still think all available command line option should be listed as such.

Show 9 quoted lines
> --- a/Documentation/git-mergetool.txt
> +++ b/Documentation/git-mergetool.txt
> @@ -64,6 +64,9 @@ variable `mergetool.<tool>.trustExitCode` can be set to `true`.
>  Otherwise, 'git mergetool' will prompt the user to indicate the
>  success of the resolution after the custom tool has exited.
>
> +--tool-help::
> +       Print a list of diff tools that may be used with `--tool`.
> +
This should say "list of merge tools", however.
[1] http://thread.gmane.org/gmane.comp.version-control.git/201913/focus=201922
-- 
Sebastian Schuberth
Previous: David AguilarNext: Junio C Hamano
Message 2 of 3 in “mergetool,difftool: Document --tool-help consistently”
  1. mergetool,difftool: Document --tool-help consistentlyDavid Aguilar, Aug 10, 2012
  2. Sebastian SchuberthAug 10, 2012
  3. Junio C HamanoAug 10, 2012

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.