Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2023-06-23 02:29:05 +0300
committerJunio C Hamano <gitster@pobox.com>2023-06-23 02:29:06 +0300
commitd9f9f6b358c4d8aad492bc4995be0926048a6248 (patch)
tree62cf18a137ffecb83675d7d5dda4f2f43d33253d /config.c
parentf2ffc7418685f75e43e2919426276141fd62c656 (diff)
parent9c7d1b057ff36ee4190621d46e9fe3c83377aea7 (diff)
Merge branch 'ds/disable-replace-refs'
Introduce a mechanism to disable replace refs globally and per repository. * ds/disable-replace-refs: repository: create read_replace_refs setting replace-objects: create wrapper around setting repository: create disable_replace_refs()
Diffstat (limited to 'config.c')
-rw-r--r--config.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/config.c b/config.c
index f5bdac0aee..5a4bb3f52c 100644
--- a/config.c
+++ b/config.c
@@ -1841,11 +1841,6 @@ static int git_default_core_config(const char *var, const char *value, void *cb)
return 0;
}
- if (!strcmp(var, "core.usereplacerefs")) {
- read_replace_refs = git_config_bool(var, value);
- return 0;
- }
-
/* Add other config variables here and to Documentation/config.txt. */
return platform_core_config(var, value, cb);
}