Re: [PATCH 2/2] completion: use new 'git config' options to reliably list variable names
On Wed, May 27, 2015 at 10:07:20PM +0200, SZEDER Gábor wrote:
Show 9 quoted lines
> List all set config variable names with 'git config --list-names' instead
> of '--list' post processing. Similarly, use 'git config
> --get-name-regexp' instead of '--get-regexp' to get config variables in a
> given section.
>
> Signed-off-by: SZEDER Gábor <szeder@ira.uka.de>
> ---
> contrib/completion/git-completion.bash | 15 +++------------
> 1 file changed, 3 insertions(+), 12 deletions(-)
Nice diffstat. The less hacky bash parsing we can do, the better.
-Peff