Skip to content

Commit 2b4a888

Browse files
committed
Merge branch 'jc/core-checkstat-2.0'
"core.statinfo" configuration variable, which was a never-advertised synonym to "core.checkstat", has been removed.
2 parents 160c4b1 + c1b5d73 commit 2b4a888

File tree

1 file changed

+1
-14
lines changed

1 file changed

+1
-14
lines changed

config.c

Lines changed: 1 addition & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -667,20 +667,7 @@ static int git_default_core_config(const char *var, const char *value)
667667
trust_ctime = git_config_bool(var, value);
668668
return 0;
669669
}
670-
if (!strcmp(var, "core.statinfo") ||
671-
!strcmp(var, "core.checkstat")) {
672-
/*
673-
* NEEDSWORK: statinfo was a typo in v1.8.2 that has
674-
* never been advertised. we will remove it at Git
675-
* 2.0 boundary.
676-
*/
677-
if (!strcmp(var, "core.statinfo")) {
678-
static int warned;
679-
if (!warned++) {
680-
warning("'core.statinfo' will be removed in Git 2.0; "
681-
"use 'core.checkstat' instead.");
682-
}
683-
}
670+
if (!strcmp(var, "core.checkstat")) {
684671
if (!strcasecmp(value, "default"))
685672
check_stat = 1;
686673
else if (!strcasecmp(value, "minimal"))

0 commit comments

Comments
 (0)