summaryrefslogtreecommitdiff
path: root/cache.h
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-07-29 20:43:21 (GMT)
committerJunio C Hamano <gitster@pobox.com>2012-07-30 15:51:26 (GMT)
commit9409c7a5b33d6a4d68f58ccb1034fa50c92cac68 (patch)
tree3fe15b0625001b5b6331bec0324ed4b5d8932269 /cache.h
parent785ee4960c3d334cbc2b17ab74d2cebdf1b4db64 (diff)
downloadgit-9409c7a5b33d6a4d68f58ccb1034fa50c92cac68.zip
git-9409c7a5b33d6a4d68f58ccb1034fa50c92cac68.tar.gz
git-9409c7a5b33d6a4d68f58ccb1034fa50c92cac68.tar.bz2
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 84b8229..96ba073 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 *);