completion: Replace config --list with --get-regexp
authorTodd Zullinger <tmz@pobox.com>
Fri, 11 Sep 2009 23:23:45 +0000 (19:23 -0400)
committerJunio C Hamano <gitster@pobox.com>
Sun, 13 Sep 2009 20:40:25 +0000 (13:40 -0700)
commit518ef8f07f72271dff4040c1e7452ab6de73d199
tree14b7b65d6637f664c1bba0747580a6c56754aca8
parent05d3951ec9c531d348fe0dbb9ae058d38728a550
completion: Replace config --list with --get-regexp

James Bardin noted that the completion spewed warnings when no git config
file is present.  This is likely a bug to be fixed in git config, but it's
also good to simplify the completion code by using the --get-regexp option
as Jeff King pointed out.

Signed-off-by: Todd Zullinger <tmz@pobox.com>
Trivially-acked-by: Shawn O. Pearce <spearce@spearce.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash