completion: support 'git config --local'
commit66c0786ca59ec2f281fe9c78521b79f8bccfc954
authorMatthieu Moy <Matthieu.Moy@imag.fr>
Tue, 12 Feb 2013 12:20:42 +0000 (12 13:20 +0100)
committerJunio C Hamano <gitster@pobox.com>
Tue, 12 Feb 2013 18:06:25 +0000 (12 10:06 -0800)
tree31bbd095201e2f65b447f478983cc148f9436e78
parentaa3982890fe7506badfddf6252402a335a4d72b7
completion: support 'git config --local'

This needs to be done in two places: __git_config_get_set_variables to
allow clever completion of "git config --local --get foo<tab>", and
_git_config to allow "git config --loc<tab>" to complete to --local.

While we're there, change the order of options in the code to match
git-config.txt.

Signed-off-by: Matthieu Moy <Matthieu.Moy@imag.fr>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
contrib/completion/git-completion.bash