aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/git-difftool.txt
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2010-11-04 17:17:29 -0400
committerJunio C Hamano <gitster@pobox.com>2010-11-05 10:05:46 -0700
commit49bd56a5f7b09f89b59a6a77d331e8f85f6d7fde (patch)
tree4efeb0656991bf133ec28baf6b14b4e2fb919989 /Documentation/git-difftool.txt
parent9edb8a0f7b3e2ca06b360abce2e2aaa2b5760a68 (diff)
downloadgit-49bd56a5f7b09f89b59a6a77d331e8f85f6d7fde.tar.gz
docs: clarify git diff modes of operation
It is an oversimplification to say that we can take "[<commit> [<commit>]]", as it really depends on what options have been given. Instead, let's list the major modes of operation separately, as we do in other manpages. This patch also adjusts the text immediately after the synopsis to match the lines given in the synopsis. For git-difftool, which has the same issue, let's refer the user to the git-diff manpage rather than spelling it all out again. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-difftool.txt')
-rw-r--r--Documentation/git-difftool.txt3
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/git-difftool.txt b/Documentation/git-difftool.txt
index a02e3b5190..6fffbc7bf8 100644
--- a/Documentation/git-difftool.txt
+++ b/Documentation/git-difftool.txt
@@ -13,7 +13,8 @@ DESCRIPTION
-----------
'git difftool' is a git command that allows you to compare and edit files
between revisions using common diff tools. 'git difftool' is a frontend
-to 'git diff' and accepts the same options and arguments.
+to 'git diff' and accepts the same options and arguments. See
+linkgit:git-diff[1].
OPTIONS
-------