author | Michael J Gruber <git@drmicha.warpmail.net> | |
Tue, 17 May 2011 15:38:52 +0000 (17:38 +0200) | ||
committer | Junio C Hamano <gitster@pobox.com> | |
Wed, 18 May 2011 04:01:17 +0000 (21:01 -0700) | ||
commit | 7a39741999a5216257b1fbcc847cf0c62c114088 | |
tree | 56bad681465958014dd2cff968eb684c2d729509 | tree | snapshot |
parent | b602ed7dea968d72c5b3f61ca016de7f285d80ef | commit | diff |
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>
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 | diff | blob | history | |
cache.h | diff | blob | history | |
config.c | diff | blob | history |