]> git.ipfire.org Git - thirdparty/git.git/commit
environment: stop storing "core.preferSymlinkRefs" globally
authorPatrick Steinhardt <ps@pks.im>
Thu, 12 Sep 2024 11:30:21 +0000 (13:30 +0200)
committerJunio C Hamano <gitster@pobox.com>
Thu, 12 Sep 2024 17:15:43 +0000 (10:15 -0700)
commit8e2e8a33f3558524adeceeb1e2e7b64a367b0d08
treeac073e084b58e7fb5a33ca95e3478e0fb1cf82b8
parenteafb126456b235c5281e3ae50bfd526552ce12d3
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>
config.c
environment.c
environment.h
refs/files-backend.c