summaryrefslogtreecommitdiff
path: root/Documentation/git-diff.txt
diff options
context:
space:
mode:
authorSergei Organov <osv@javad.com>2007-11-15 16:19:29 +0300
committerJunio C Hamano <gitster@pobox.com>2007-11-15 22:44:17 -0800
commitc1a95fa629b837fd291ca0e1428604710a2bc1dd (patch)
tree18e15c16ad4f81840210ec627d1c46451d709ecd /Documentation/git-diff.txt
parent8e7b07c8a776c401ff5c4adb593f423a754d198c (diff)
downloadgit-c1a95fa629b837fd291ca0e1428604710a2bc1dd.tar.gz
Documentation: customize diff-options depending on particular command
Customize diff-options depending on particular command as follows, mostly to make git-diff and git-format-patch manuals less confusing: * git-format-patch: - Mark --patch-with-stat as being the default. - Change -p description so that it matches what it actually does and so that it doesn't refer to absent "section on generating patches". * git-diff: mark -p as being the default. * git-diff-index/git-diff-files/git-diff-tree: mark --raw as being the default. Signed-off-by: Sergei Organov <osv@javad.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-diff.txt')
-rw-r--r--Documentation/git-diff.txt1
1 files changed, 1 insertions, 0 deletions
diff --git a/Documentation/git-diff.txt b/Documentation/git-diff.txt
index 11c4216c4a..2808a5ec44 100644
--- a/Documentation/git-diff.txt
+++ b/Documentation/git-diff.txt
@@ -75,6 +75,7 @@ and the range notations ("<commit>..<commit>" and
OPTIONS
-------
+:git-diff: 1
include::diff-options.txt[]
<path>...::