Documentation/diff-options: reword description of --submodule option

The previous description was confusing.  This rewrite makes it easier
to understand.

Signed-off-by: Tim Henigan <tim.henigan@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Tim Henigan 2012-03-14 13:00:55 -04:00 committed by Junio C Hamano
parent 752c0c2492
commit 3fe271e91b

View File

@ -88,11 +88,12 @@ endif::git-format-patch[]
of the `--diff-filter` option on what the status letters mean. of the `--diff-filter` option on what the status letters mean.
--submodule[=<format>]:: --submodule[=<format>]::
Chose the output format for submodule differences. <format> can be one of Specify how differences in submodules are shown. When `--submodule`
'short' and 'log'. 'short' just shows pairs of commit names, this format or `--submodule=log` is given, the 'log' format is used. This format lists
is used when this option is not given. 'log' is the default value for this the commits in the range like linkgit:git-submodule[1] `summary` does.
option and lists the commits in that commit range like the 'summary' Omitting the `--submodule` option or specifying `--submodule=short`,
option of linkgit:git-submodule[1] does. uses the 'short' format. This format just shows the names of the commits
at the beginning and end of the range.
--color:: --color::
Show colored diff. Show colored diff.