git config: don't allow --get-color* and variable type
authorFelipe Contreras <felipe.contreras@gmail.com>
Sat, 21 Feb 2009 00:49:29 +0000 (02:49 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 22 Feb 2009 04:37:48 +0000 (20:37 -0800)
commitc23873589483eb5dc753190309af8c5821169118
tree476b491ed96bc8f433d951970d826e4a6bb781e7
parent225a9caf18911bffe2f32e4960c94e51f135182b
git config: don't allow --get-color* and variable type

Doing so would be incoherent since --get-color would pick a color slot
and ignore the variable type option (e.g. --bool), and the type would
require a variable name.

Suggested by Junio C Hamano.

Signed-off-by: Felipe Contreras <felipe.contreras@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin-config.c