Merge branch 'ds/disable-replace-refs'
commitd9f9f6b358c4d8aad492bc4995be0926048a6248
authorJunio C Hamano <gitster@pobox.com>
Thu, 22 Jun 2023 23:29:05 +0000 (22 16:29 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 22 Jun 2023 23:29:06 +0000 (22 16:29 -0700)
tree62cf18a137ffecb83675d7d5dda4f2f43d33253d
parentf2ffc7418685f75e43e2919426276141fd62c656
parent9c7d1b057ff36ee4190621d46e9fe3c83377aea7
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()
builtin/fsck.c
builtin/pack-objects.c
commit-graph.c
config.c
environment.c
git.c
log-tree.c
repository.h