# [PATCH] Documentation/difftool: add deltawalker to list of valid diff tools

4 messages from 2012-03-15 to 2012-03-15. Participants: Tim Henigan, Junio C Hamano.
Thread: https://gitlist.dev/t/29959

## Tim Henigan, 2012-03-15 16:28

Subject: [PATCH] Documentation/difftool: add deltawalker to list of valid diff tools
Message-ID: <1331828906-5943-1-git-send-email-tim.henigan@gmail.com>
URL: https://gitlist.dev/e/1331828906-5943-1-git-send-email-tim.henigan%40gmail.com

```
deltawalker has been supported since 284a126c3ef3, but was not added
to the list of valid diff tools reported by 'git difftool --help'.

Signed-off-by: Tim Henigan <tim.henigan@gmail.com>
---

The list of valid tools seems prone to error. Right now, there is nothing
that tells people to update this documentation when new config files are
added to 'mergetools'.  Should I add a README to 'mergetools' with
instructions to update this file?  Or would it be better to replace the
list in the help string with a more general statement like "<tool> must
match one of the files located in $(git --exec-path)/mergetools"?


 Documentation/git-difftool.txt |    5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/Documentation/git-difftool.txt b/Documentation/git-difftool.txt
index 19d473c..fe38f66 100644
--- a/Documentation/git-difftool.txt
+++ b/Documentation/git-difftool.txt
@@ -32,8 +32,9 @@ OPTIONS
 --tool=<tool>::
 	Use the diff tool specified by <tool>.
 	Valid diff tools are:
-	araxis, bc3, diffuse, emerge, ecmerge, gvimdiff, kdiff3,
-	kompare, meld, opendiff, p4merge, tkdiff, vimdiff and xxdiff.
+	araxis, bc3, deltawalker, diffuse, emerge, ecmerge, gvimdiff,
+	kdiff3,	kompare, meld, opendiff, p4merge, tkdiff, vimdiff and
+	xxdiff.
 +
 If a diff tool is not specified, 'git difftool'
 will use the configuration variable `diff.tool`.  If the
-- 
1.7.10.rc1

```

## Junio C Hamano, 2012-03-15 20:56

Subject: Re: [PATCH] Documentation/difftool: add deltawalker to list of valid diff tools
Message-ID: <7v3999k2h5.fsf@alter.siamese.dyndns.org>
URL: https://gitlist.dev/e/7v3999k2h5.fsf%40alter.siamese.dyndns.org
In-Reply-To: <1331828906-5943-1-git-send-email-tim.henigan@gmail.com>

```
Tim Henigan <tim.henigan@gmail.com> writes:

> The list of valid tools seems prone to error. Right now, there is nothing
> that tells people to update this documentation when new config files are
> added to 'mergetools'.  Should I add a README to 'mergetools' with
> instructions to update this file?  Or would it be better to replace the
> list in the help string with a more general statement like "<tool> must
> match one of the files located in $(git --exec-path)/mergetools"?

I would prefer to rip most of them out from this list in the
documentation, and refer people to ask the installed version of "git
difftool" to list them.  After bc7a96a (mergetool--lib: Refactor tools
into separate files, 2011-08-18), that should be the most sensible option.
I.e.

	--tool=<tool>::
		Use the diff tool specified by <tool>.  Valid diff tools
                include emerge, kompare, meld, and vimdiff; for complete
                list, run 'git difftool --tool-help'

or something.

```

## Junio C Hamano, 2012-03-15 22:16

Subject: Re: [PATCH] Documentation/difftool: add deltawalker to list of valid diff tools
Message-ID: <7vobrxik6s.fsf@alter.siamese.dyndns.org>
URL: https://gitlist.dev/e/7vobrxik6s.fsf%40alter.siamese.dyndns.org
In-Reply-To: <7v3999k2h5.fsf@alter.siamese.dyndns.org>

```
Junio C Hamano <gitster@pobox.com> writes:

> Tim Henigan <tim.henigan@gmail.com> writes:
>
>> The list of valid tools seems prone to error. Right now, there is nothing
>> that tells people to update this documentation when new config files are
>> added to 'mergetools'.  Should I add a README to 'mergetools' with
>> instructions to update this file?  Or would it be better to replace the
>> list in the help string with a more general statement like "<tool> must
>> match one of the files located in $(git --exec-path)/mergetools"?
>
> I would prefer to rip most of them out from this list in the
> documentation, and refer people to ask the installed version of "git
> difftool" to list them.  After bc7a96a (mergetool--lib: Refactor tools
> into separate files, 2011-08-18), that should be the most sensible option.
> I.e.
>
> 	--tool=<tool>::
> 		Use the diff tool specified by <tool>.  Valid diff tools
>                 include emerge, kompare, meld, and vimdiff; for complete
>                 list, run 'git difftool --tool-help'
>
> or something.

The above is the longer-term direction. I'll apply your patch to add
another new tool to the existing list for 1.7.10.

```

## Tim Henigan, 2012-03-15 22:21

Subject: Re: [PATCH] Documentation/difftool: add deltawalker to list of valid diff tools
Message-ID: <CAFoueth3kwrm7rbLnN0sipOvFUgFW_YdRS8Z0+Uk+puFsaRSLg@mail.gmail.com>
URL: https://gitlist.dev/e/CAFoueth3kwrm7rbLnN0sipOvFUgFW_YdRS8Z0%2BUk%2BpuFsaRSLg%40mail.gmail.com
In-Reply-To: <7vobrxik6s.fsf@alter.siamese.dyndns.org>

```
On Thu, Mar 15, 2012 at 6:16 PM, Junio C Hamano <gitster@pobox.com> wrote:
>
> The above is the longer-term direction. I'll apply your patch to add
> another new tool to the existing list for 1.7.10.

I am almost done with a patch to do this...I was planning to send it
in the next few minutes.

Thanks,
Tim

```
