summaryrefslogtreecommitdiff
path: root/config.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2013-05-06 22:32:58 -0700
committerJunio C Hamano <gitster@pobox.com>2013-05-06 22:32:58 -0700
commitc1b5d738bf9228db56f64149f96961b3aaf529a9 (patch)
tree511ba38c8ce3cbd06a983100014dc6041bbcc14c /config.c
parent6f4dd60d0713980cf976f569eb83850f9a28fe3c (diff)
downloadgit-c1b5d738bf9228db56f64149f96961b3aaf529a9.tar.gz
core.statinfo: remove as promised in Git 2.0jc/core-checkstat-2.0
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'config.c')
-rw-r--r--config.c15
1 files changed, 1 insertions, 14 deletions
diff --git a/config.c b/config.c
index 7c55d05e80..1f2cc9063e 100644
--- a/config.c
+++ b/config.c
@@ -566,20 +566,7 @@ static int git_default_core_config(const char *var, const char *value)
trust_ctime = git_config_bool(var, value);
return 0;
}
- if (!strcmp(var, "core.statinfo") ||
- !strcmp(var, "core.checkstat")) {
- /*
- * NEEDSWORK: statinfo was a typo in v1.8.2 that has
- * never been advertised. we will remove it at Git
- * 2.0 boundary.
- */
- if (!strcmp(var, "core.statinfo")) {
- static int warned;
- if (!warned++) {
- warning("'core.statinfo' will be removed in Git 2.0; "
- "use 'core.checkstat' instead.");
- }
- }
+ if (!strcmp(var, "core.checkstat")) {
if (!strcasecmp(value, "default"))
check_stat = 1;
else if (!strcasecmp(value, "minimal"))