]> git.ipfire.org Git - thirdparty/git.git/commit - Documentation/git-submodule.txt
submodule update documentation: don't repeat ourselves
authorStefan Beller <sbeller@google.com>
Tue, 27 Dec 2016 23:43:09 +0000 (15:43 -0800)
committerJunio C Hamano <gitster@pobox.com>
Thu, 12 Jan 2017 22:19:32 +0000 (14:19 -0800)
commitfc01a5d26a8f0f80db8302d3ef3ce10924a68581
treea34ac8a4f350f4d3ca98202872bb673f25ed8129
parenteb2f2f5f6a18e7b561beb5345fb1dcb4371c7152
submodule update documentation: don't repeat ourselves

The documentation for the `git submodule update` command, repeats itself
for each update option, "This is done when <option> is given, or no
option is given and `submodule.<name>.update` is set to <string>.

Avoid these repetitive clauses by stating the command line options take
precedence over configured options.

Also add 'none' to the list of options instead of mentioning it in the
following running text and split the list into two parts, one that is
accessible via the command line and one that is only reachable via the
configuration variables.

Signed-off-by: Stefan Beller <sbeller@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-submodule.txt