summaryrefslogtreecommitdiffstats
path: root/diff-options.txt
diff options
context:
space:
mode:
Diffstat (limited to 'diff-options.txt')
-rw-r--r--diff-options.txt8
1 files changed, 7 insertions, 1 deletions
diff --git a/diff-options.txt b/diff-options.txt
index 3674ac48e..7d73e976d 100644
--- a/diff-options.txt
+++ b/diff-options.txt
@@ -22,7 +22,13 @@ ifndef::git-format-patch[]
-p::
-u::
--patch::
- Generate patch (see section on generating patches).
+ Generate patch (see section titled
+ifdef::git-log[]
+<<generate_patch_text_with_p, "Generating patch text with -p">>).
+endif::git-log[]
+ifndef::git-log[]
+"Generating patch text with -p").
+endif::git-log[]
ifdef::git-diff[]
This is the default.
endif::git-diff[]