documentation fix: git difftool uses diff tools, not merge tools.
PATCH 1/1 documentation fix: git difftool uses diff tools, not merge tools.
Let the documentation for -t list valid *diff* tools, not valid *merge* tools.
--- Documentation/git-difftool.txt | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Documentation/git-difftool.txt +1 -1
@@ -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. +
Signature · 1 line
1.7.2.5
Quoted 13 lines · Thomas Hochstein
Let the documentation for -t list valid *diff* tools, not valid *merge* tools.
Signed-off-by Thomas Hochstein <[email protected]>--- Documentation/git-difftool.txt | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)Documentation/git-difftool.txt +0
-0
Documentation/git-difftool.txt OPTIONS · line 37
Quoted 8 lines
Documentation/git-difftool.txt +1
-1@@ -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.
Quoted 33 lines · Junio C Hamano
Quoted 13 lines · Thomas Hochstein
Let the documentation for -t list valid *diff* tools, not valid *merge* tools.
Signed-off-by Thomas Hochstein <[email protected]>---
Documentation/git-difftool.txt | 2 +-1 files changed, 1 insertions(+), 1 deletions(-)Documentation/git-difftool.txt +0
-0@@ -31,7 +31,7 @@ OPTIONSQuoted 8 lines
-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.
Quoted 3 lines
David, what do you think?
The same comment applies to "git mergetool", I would think.
Exactly my thoughts.
Signature · 1 line
David