Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
core.statinfo: remove as promised in Git 2.0
author
Junio C Hamano
<gitster@pobox.com>
Tue, 7 May 2013 05:32:58 +0000
(22:32 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Tue, 7 May 2013 05:32:58 +0000
(22:32 -0700)
Signed-off-by: Junio C Hamano <gitster@pobox.com>
config.c
patch
|
blob
|
history
raw
|
patch
|
inline
| side by side (parent:
6f4dd60
)
diff --git
a/config.c
b/config.c
index 7c55d05e80bb44cd6c413492ea3feb3d740dfa07..1f2cc9063e8984c06698cd755435b18f4809b667 100644
(file)
--- 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;
}
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"))
if (!strcasecmp(value, "default"))
check_stat = 1;
else if (!strcasecmp(value, "minimal"))