core.statinfo: remove as promised in Git 2.0
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Junio C Hamano committed
May 6, 2013 at 22:32 UTC
c1b5d738bf9228db56f64149f96961b3aaf529a9
1 file changed
+1
-14
config.c
+1
-14
@@ -566,20 +566,7 @@ static int git_default_core_config(const char *var, const char *value)
566
trust_ctime = git_config_bool(var, value);
567
return 0;
568
}
569
- if (!strcmp(var, "core.statinfo") ||
570
- !strcmp(var, "core.checkstat")) {
571
- /*
572
- * NEEDSWORK: statinfo was a typo in v1.8.2 that has
573
- * never been advertised. we will remove it at Git
574
- * 2.0 boundary.
575
- */
576
- if (!strcmp(var, "core.statinfo")) {
577
- static int warned;
578
- if (!warned++) {
579
- warning("'core.statinfo' will be removed in Git 2.0; "
580
- "use 'core.checkstat' instead.");
581
- }
582
- }
569
+ if (!strcmp(var, "core.checkstat")) {
570
if (!strcasecmp(value, "default"))
571
check_stat = 1;
572
else if (!strcasecmp(value, "minimal"))