git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH] Documentation/difftool: add deltawalker to list of valid diff tools
@ 2012-03-15 16:28 Tim Henigan
  2012-03-15 20:56 ` Junio C Hamano
  0 siblings, 1 reply; 4+ messages in thread
From: Tim Henigan @ 2012-03-15 16:28 UTC (permalink / raw)
  To: git, gitster, davvid; +Cc: Tim Henigan

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

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH] Documentation/difftool: add deltawalker to list of valid diff tools
  2012-03-15 16:28 [PATCH] Documentation/difftool: add deltawalker to list of valid diff tools Tim Henigan
@ 2012-03-15 20:56 ` Junio C Hamano
  2012-03-15 22:16   ` Junio C Hamano
  0 siblings, 1 reply; 4+ messages in thread
From: Junio C Hamano @ 2012-03-15 20:56 UTC (permalink / raw)
  To: Tim Henigan; +Cc: git, davvid

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] Documentation/difftool: add deltawalker to list of valid diff tools
  2012-03-15 20:56 ` Junio C Hamano
@ 2012-03-15 22:16   ` Junio C Hamano
  2012-03-15 22:21     ` Tim Henigan
  0 siblings, 1 reply; 4+ messages in thread
From: Junio C Hamano @ 2012-03-15 22:16 UTC (permalink / raw)
  To: Tim Henigan; +Cc: git, davvid

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.

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH] Documentation/difftool: add deltawalker to list of valid diff tools
  2012-03-15 22:16   ` Junio C Hamano
@ 2012-03-15 22:21     ` Tim Henigan
  0 siblings, 0 replies; 4+ messages in thread
From: Tim Henigan @ 2012-03-15 22:21 UTC (permalink / raw)
  To: Junio C Hamano; +Cc: git, davvid

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

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2012-03-15 22:21 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-03-15 16:28 [PATCH] Documentation/difftool: add deltawalker to list of valid diff tools Tim Henigan
2012-03-15 20:56 ` Junio C Hamano
2012-03-15 22:16   ` Junio C Hamano
2012-03-15 22:21     ` Tim Henigan

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).