Re: [PATCH v2 2/5] help: correct usage & behavior of "git help --guides"
From: Philip Oakley <hidden>
Date: 2021-09-21 14:20:10
On 21/09/2021 14:49, Ævar Arnfjörð Bjarmason wrote:
quoted
quoted
Further, shouldn't we mention this (git help -c) on the git config man page, e.g. "A list all available configuration variables can be generated by `git help -c`."Still feel this one would be useful (but may be out of scope of this series)We already have such a mention in the documentation, it pre-dates this series. I.e.: -c:: --config:: List all available configuration variables. This is a short summary of the list in linkgit:git-config[1]. The "short summary" there is quite the understatement, but that wording was added in , 3ac68a93fd2 (help: add --config to list all available config, 2018-05-26) so it wasn't some mistake with the option drifting out of sync with an earlier implementation. I think what Nguyễn meant here was "much shorte than 'git help config'".
I was just saying the 'git help config' should point to the `git help --config` command (extra `--`) I then realised I ought to propose a patch, which is now in `next` ae578de926 (doc: config, tell readers of `git help --config`, 2021-09-13), I should have added the wider cc list. https://lore.kernel.org/git/20210913212305.1832-1-philipoakley@iee.email/ (local) Philip