mirror of
https://github.com/git/git.git
synced 2026-01-09 09:36:36 +00:00
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()
This commit is contained in:
@@ -39,6 +39,15 @@ struct repo_settings {
|
||||
int pack_read_reverse_index;
|
||||
int pack_use_bitmap_boundary_traversal;
|
||||
|
||||
/*
|
||||
* Does this repository have core.useReplaceRefs=true (on by
|
||||
* default)? This provides a repository-scoped version of this
|
||||
* config, though it could be disabled process-wide via some Git
|
||||
* builtins or the --no-replace-objects option. See
|
||||
* replace_refs_enabled() for more details.
|
||||
*/
|
||||
int read_replace_refs;
|
||||
|
||||
struct fsmonitor_settings *fsmonitor; /* lazily loaded */
|
||||
|
||||
int index_version;
|
||||
|
||||
Reference in New Issue
Block a user