summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-07-29 13:43:21 -0700
committerJunio C Hamano <gitster@pobox.com>2012-07-30 08:51:26 -0700
commit9409c7a5b33d6a4d68f58ccb1034fa50c92cac68 (patch)
tree3fe15b0625001b5b6331bec0324ed4b5d8932269 /cache.h
parent785ee4960c3d334cbc2b17ab74d2cebdf1b4db64 (diff)
downloadgit-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.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/cache.h b/cache.h
index 84b8229748..96ba07320b 100644
--- a/cache.h
+++ b/cache.h
@@ -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 *);