* [PATCH] documentation fix: git difftool uses diff tools, not merge tools.
@ 2011-11-14 22:55 Thomas Hochstein
2011-11-15 0:20 ` Junio C Hamano
0 siblings, 1 reply; 3+ messages in thread
From: Thomas Hochstein @ 2011-11-14 22:55 UTC (permalink / raw)
To: git; +Cc: Thomas Hochstein
Let the documentation for -t list valid *diff* tools,
not valid *merge* tools.
Signed-off-by: Thomas Hochstein <thh@inter.net>
---
Documentation/git-difftool.txt | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diff --git a/Documentation/git-difftool.txt b/Documentation/git-difftool.txt
index a03515f..19d473c 100644
--- a/Documentation/git-difftool.txt
+++ b/Documentation/git-difftool.txt
@@ -31,7 +31,7 @@ OPTIONS
-t <tool>::
--tool=<tool>::
Use the diff tool specified by <tool>.
- Valid merge tools are:
+ Valid diff tools are:
araxis, bc3, diffuse, emerge, ecmerge, gvimdiff, kdiff3,
kompare, meld, opendiff, p4merge, tkdiff, vimdiff and xxdiff.
+
--
1.7.2.5
^ permalink raw reply related [flat|nested] 3+ messages in thread
* Re: [PATCH] documentation fix: git difftool uses diff tools, not merge tools.
2011-11-14 22:55 [PATCH] documentation fix: git difftool uses diff tools, not merge tools Thomas Hochstein
@ 2011-11-15 0:20 ` Junio C Hamano
2011-11-21 12:25 ` David Aguilar
0 siblings, 1 reply; 3+ messages in thread
From: Junio C Hamano @ 2011-11-15 0:20 UTC (permalink / raw)
To: Thomas Hochstein; +Cc: git, David Aguilar
Thomas Hochstein <thh@inter.net> writes:
> Let the documentation for -t list valid *diff* tools,
> not valid *merge* tools.
>
> Signed-off-by: Thomas Hochstein <thh@inter.net>
> ---
> Documentation/git-difftool.txt | 2 +-
> 1 files changed, 1 insertions(+), 1 deletions(-)
>
> diff --git a/Documentation/git-difftool.txt b/Documentation/git-difftool.txt
> index a03515f..19d473c 100644
> --- a/Documentation/git-difftool.txt
> +++ b/Documentation/git-difftool.txt
> @@ -31,7 +31,7 @@ OPTIONS
> -t <tool>::
> --tool=<tool>::
> Use the diff tool specified by <tool>.
> - Valid merge tools are:
> + Valid diff tools are:
> araxis, bc3, diffuse, emerge, ecmerge, gvimdiff, kdiff3,
> kompare, meld, opendiff, p4merge, tkdiff, vimdiff and xxdiff.
> +
The patch is obviously correct, and it is so trivial that there is no risk
of breaking anything. It would even be OK for 1.7.7.X maintenance series.
But in the longer term, I suspect that we would want to drop this
enumeration from the documentation, and instead give "--list-tools"
option or something to the command. That way, we only need to keep
the list of known tools in one place where it matters, namely, the
command that knows about them.
David, what do you think?
The same comment applies to "git mergetool", I would think.
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: [PATCH] documentation fix: git difftool uses diff tools, not merge tools.
2011-11-15 0:20 ` Junio C Hamano
@ 2011-11-21 12:25 ` David Aguilar
0 siblings, 0 replies; 3+ messages in thread
From: David Aguilar @ 2011-11-21 12:25 UTC (permalink / raw)
To: Junio C Hamano; +Cc: Thomas Hochstein, git
On Mon, Nov 14, 2011 at 4:20 PM, Junio C Hamano <gitster@pobox.com> wrote:
> Thomas Hochstein <thh@inter.net> writes:
>
>> Let the documentation for -t list valid *diff* tools,
>> not valid *merge* tools.
>>
>> Signed-off-by: Thomas Hochstein <thh@inter.net>
>> ---
>> Documentation/git-difftool.txt | 2 +-
>> 1 files changed, 1 insertions(+), 1 deletions(-)
>>
>> diff --git a/Documentation/git-difftool.txt b/Documentation/git-difftool.txt
>> index a03515f..19d473c 100644
>> --- a/Documentation/git-difftool.txt
>> +++ b/Documentation/git-difftool.txt
>> @@ -31,7 +31,7 @@ OPTIONS
>> -t <tool>::
>> --tool=<tool>::
>> Use the diff tool specified by <tool>.
>> - Valid merge tools are:
>> + Valid diff tools are:
>> araxis, bc3, diffuse, emerge, ecmerge, gvimdiff, kdiff3,
>> kompare, meld, opendiff, p4merge, tkdiff, vimdiff and xxdiff.
>> +
>
> The patch is obviously correct, and it is so trivial that there is no risk
> of breaking anything. It would even be OK for 1.7.7.X maintenance series.
>
> But in the longer term, I suspect that we would want to drop this
> enumeration from the documentation, and instead give "--list-tools"
> option or something to the command. That way, we only need to keep
> the list of known tools in one place where it matters, namely, the
> command that knows about them.
>
> David, what do you think?
>
> The same comment applies to "git mergetool", I would think.
Exactly my thoughts.
--
David
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-11-21 12:25 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-11-14 22:55 [PATCH] documentation fix: git difftool uses diff tools, not merge tools Thomas Hochstein
2011-11-15 0:20 ` Junio C Hamano
2011-11-21 12:25 ` David Aguilar
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox