Re: [PATCH v5 00/10] Keep all info in command-list.txt in git binary
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- Apr 30, 2018, 15:53 UTC
- Message-ID
- <CACsJy8A5O2qPHPNTCWWcFb6FJx3XAwfmaSWSdg7658JtDNV4rA@mail.gmail.com>
- In-Reply-To
- <20180429181844.21325-1-pclouds@gmail.com>
This is probably scope creep for this series, but do you guys think we should do the same for config variables completion? We currently maintain a giant list at the end of _git_config(). Extracting the list from Documentation/config.txt to keep it in a C array does not look super hard. There will be some special handling for advice.* or color.<slot>... but overall I still think it's a net gain.
Listing all recognizable config variables from "git config" (or "git help") would be lovely, but I don't think it helps unless we could print a short summary line each variable, but this info is not available anywhere. -- Duy