MCPcopy Index your code
hub / github.com/git/git / disable_replace_refs

Function disable_replace_refs

replace-object.c:92–95  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

90static int read_replace_refs = 1;
91
92void disable_replace_refs(void)
93{
94 read_replace_refs = 0;
95}
96
97int replace_refs_enabled(struct repository *r)
98{

Callers 12

setup_git_env_internalFunction · 0.85
handle_optionsFunction · 0.85
cmd_multi_pack_indexFunction · 0.85
cmd_upload_packFunction · 0.85
cmd_index_packFunction · 0.85
batch_objectsFunction · 0.85
cmd_replaceFunction · 0.85
cmd_commit_graphFunction · 0.85
cmd_fsckFunction · 0.85
cmd_pruneFunction · 0.85
cmd_pack_objectsFunction · 0.85
cmd_unpack_objectsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected