aboutsummaryrefslogtreecommitdiffstats
path: root/environment.h
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2024-09-12 13:30:21 +0200
committerJunio C Hamano <gitster@pobox.com>2024-09-12 10:15:43 -0700
commit8e2e8a33f3558524adeceeb1e2e7b64a367b0d08 (patch)
treeac073e084b58e7fb5a33ca95e3478e0fb1cf82b8 /environment.h
parentenvironment: stop storing "core.logAllRefUpdates" globally (diff)
downloadgit-8e2e8a33f3558524adeceeb1e2e7b64a367b0d08.tar.gz
git-8e2e8a33f3558524adeceeb1e2e7b64a367b0d08.zip
environment: stop storing "core.preferSymlinkRefs" globally
Same as the preceding commit, storing the "core.preferSymlinkRefs" value globally is misdesigned as this setting may be set per repository. There is only a single user of this value anyway, namely the "files" backend. So let's just remove the global variable and read the value of this setting when initializing the backend. Signed-off-by: Patrick Steinhardt <ps@pks.im> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'environment.h')
-rw-r--r--environment.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/environment.h b/environment.h
index 315fd31995..0cab644e2d 100644
--- a/environment.h
+++ b/environment.h
@@ -156,7 +156,6 @@ extern int has_symlinks;
extern int minimum_abbrev, default_abbrev;
extern int ignore_case;
extern int assume_unchanged;
-extern int prefer_symlink_refs;
extern int warn_ambiguous_refs;
extern int warn_on_object_refname_ambiguity;
extern char *apply_default_whitespace;