summaryrefslogtreecommitdiff
path: root/Documentation/diff-config.txt
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2012-10-25 06:41:57 -0400
committerLibravatar Jeff King <peff@peff.net>2012-10-25 06:41:57 -0400
commit8de8f9f656696a3c04e5f0a274b57e4a719a66ce (patch)
tree181e8f9626ed245aab923a60294085ffd368cc55 /Documentation/diff-config.txt
parentMerge branch 'jk/no-more-pre-exec-callback' (diff)
parentt4055: avoid use of sed 'a' command (diff)
downloadtgif-8de8f9f656696a3c04e5f0a274b57e4a719a66ce.tar.xz
Merge branch 'jm/diff-context-config'
Teaches a new configuration variable to "git diff" Porcelain and its friends. * jm/diff-context-config: t4055: avoid use of sed 'a' command diff: diff.context configuration gives default to -U
Diffstat (limited to 'Documentation/diff-config.txt')
-rw-r--r--Documentation/diff-config.txt4
1 files changed, 4 insertions, 0 deletions
diff --git a/Documentation/diff-config.txt b/Documentation/diff-config.txt
index 67a90a828c..75ab8a51ca 100644
--- a/Documentation/diff-config.txt
+++ b/Documentation/diff-config.txt
@@ -56,6 +56,10 @@ diff.statGraphWidth::
Limit the width of the graph part in --stat output. If set, applies
to all commands generating --stat output except format-patch.
+diff.context::
+ Generate diffs with <n> lines of context instead of the default of
+ 3. This value is overridden by the -U option.
+
diff.external::
If this config variable is set, diff generation is not
performed using the internal diff machinery, but using the