diff options
author | Ramkumar Ramachandra <artagnon@gmail.com> | 2012-11-13 21:12:45 +0530 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-11-18 19:18:13 -0800 |
commit | c47ef57caaa2b17d32b343fbe652f33b31c81362 (patch) | |
tree | 9e897701dc452deee919edce5988e7169d430096 /Documentation/diff-options.txt | |
parent | 22bc70fdf90edec98012806891f1a132fcd93575 (diff) | |
download | git-c47ef57caaa2b17d32b343fbe652f33b31c81362.tar.gz |
diff: introduce diff.submodule configuration variable
Introduce a diff.submodule configuration variable corresponding to the
'--submodule' command-line option of 'git diff'.
Signed-off-by: Ramkumar Ramachandra <artagnon@gmail.com>
Acked-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/diff-options.txt')
-rw-r--r-- | Documentation/diff-options.txt | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Documentation/diff-options.txt b/Documentation/diff-options.txt index cf4b216598..f4f7e250c5 100644 --- a/Documentation/diff-options.txt +++ b/Documentation/diff-options.txt @@ -170,7 +170,8 @@ any of those replacements occurred. the commits in the range like linkgit:git-submodule[1] `summary` does. Omitting the `--submodule` option or specifying `--submodule=short`, uses the 'short' format. This format just shows the names of the commits - at the beginning and end of the range. + at the beginning and end of the range. Can be tweaked via the + `diff.submodule` configuration variable. --color[=<when>]:: Show colored diff. |