Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/git/git
/ close_ref_gently
Function
close_ref_gently
refs/files-backend.c:1803–1808 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1801
}
1802
1803
static int close_ref_gently(struct ref_lock *lock)
1804
{
1805
if (close_lock_file_gently(&lock->lk))
1806
return -1;
1807
return 0;
1808
}
1809
1810
static int commit_ref(struct ref_lock *lock)
1811
{
Callers
3
write_ref_to_lockfile
Function · 0.85
lock_ref_for_update
Function · 0.85
files_reflog_expire
Function · 0.85
Calls
1
close_lock_file_gently
Function · 0.85
Tested by
no test coverage detected