diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-07-29 13:43:21 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-07-30 08:51:26 -0700 |
commit | 9409c7a5b33d6a4d68f58ccb1034fa50c92cac68 (patch) | |
tree | 3fe15b0625001b5b6331bec0324ed4b5d8932269 /cache.h | |
parent | 785ee4960c3d334cbc2b17ab74d2cebdf1b4db64 (diff) | |
download | git-9409c7a5b33d6a4d68f58ccb1034fa50c92cac68.tar.gz |
config: "git config baa" should exit with status 1
We instead failed with an undocumented exit status 255.
Also define a "catch-all" status and document it.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'cache.h')
-rw-r--r-- | cache.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -1141,6 +1141,7 @@ extern int update_server_info(int); #define CONFIG_NO_WRITE 4 #define CONFIG_NOTHING_SET 5 #define CONFIG_INVALID_PATTERN 6 +#define CONFIG_GENERIC_ERROR 7 typedef int (*config_fn_t)(const char *, const char *, void *); extern int git_default_config(const char *, const char *, void *); |