Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
90
static int read_replace_refs = 1;
91
92
void disable_replace_refs(void)
93
{
94
read_replace_refs = 0;
95
}
96
97
int replace_refs_enabled(struct repository *r)
98
{
Callers
12
setup_git_env_internal
Function · 0.85
handle_options
Function · 0.85
cmd_multi_pack_index
Function · 0.85
cmd_upload_pack
Function · 0.85
cmd_index_pack
Function · 0.85
batch_objects
Function · 0.85
cmd_replace
Function · 0.85
cmd_commit_graph
Function · 0.85
cmd_fsck
Function · 0.85
cmd_prune
Function · 0.85
cmd_pack_objects
Function · 0.85
cmd_unpack_objects
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected