config: define and document exit codes
commit7a39741999a5216257b1fbcc847cf0c62c114088
authorMichael J Gruber <git@drmicha.warpmail.net>
Tue, 17 May 2011 15:38:52 +0000 (17 17:38 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 18 May 2011 04:01:17 +0000 (17 21:01 -0700)
tree56bad681465958014dd2cff968eb684c2d729509
parentb602ed7dea968d72c5b3f61ca016de7f285d80ef
config: define and document exit codes

The return codes of git_config_set() and friends are magic numbers right
in the source. #define them in cache.h where the functions are declared,
and use the constants in the source.

Also, mention the resulting exit codes of "git config" in its man page
(and complete the list).

Signed-off-by: Michael J Gruber <git@drmicha.warpmail.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-config.txt
cache.h
config.c