gitsubmodules doc: invoke 'ls-files' with '--recurse-submodules'
commit7d15fdbe4c468c953eef170de645538fd7ccb4b8
authorPhilippe Blain <levraiphilippeblain@gmail.com>
Sun, 4 Oct 2020 01:17:37 +0000 (4 01:17 +0000)
committerJunio C Hamano <gitster@pobox.com>
Sun, 4 Oct 2020 19:54:07 +0000 (4 12:54 -0700)
treef00ea892975e1b0fff5dd466a9876fb97e156041
parentab4691b67bc1a2cd8d9068fb03e3fbd6979247d6
gitsubmodules doc: invoke 'ls-files' with '--recurse-submodules'

`git ls-files` was never taught to respect the `submodule.recurse`
configuration variable, and it is too late now to change that [1],
but still the command is mentioned in 'gitsubmodules(7)' as if it
does respect that config.

Adjust the call in 'gitsubmodules(7)' by calling 'ls-files' with the
'--recurse-submodules' option.

While at it, uniformize the capitalization in that file, and use
backticks instead of quotes for Git commands and configuration
variables.

[1] https://lore.kernel.org/git/pull.732.git.1599707259907.gitgitgadget@gmail.com/T/#u

Signed-off-by: Philippe Blain <levraiphilippeblain@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/gitsubmodules.txt