From: Jeff King Date: Wed, 27 May 2015 21:05:40 GMT Subject: Re: [PATCH 2/2] completion: use new 'git config' options to reliably list variable names Message-ID: <20150527210540.GC22815@peff.net> In-Reply-To: <1432757240-4445-2-git-send-email-szeder@ira.uka.de> On Wed, May 27, 2015 at 10:07:20PM +0200, SZEDER Gábor wrote: > 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 > --- > 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