diff options
author | Junio C Hamano <gitster@pobox.com> | 2023-06-23 02:29:05 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2023-06-23 02:29:06 +0300 |
commit | d9f9f6b358c4d8aad492bc4995be0926048a6248 (patch) | |
tree | 62cf18a137ffecb83675d7d5dda4f2f43d33253d /config.c | |
parent | f2ffc7418685f75e43e2919426276141fd62c656 (diff) | |
parent | 9c7d1b057ff36ee4190621d46e9fe3c83377aea7 (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.c | 5 |
1 files changed, 0 insertions, 5 deletions
@@ -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); } |