MCPcopy 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
1803static 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
1810static int commit_ref(struct ref_lock *lock)
1811{

Callers 3

write_ref_to_lockfileFunction · 0.85
lock_ref_for_updateFunction · 0.85
files_reflog_expireFunction · 0.85

Calls 1

close_lock_file_gentlyFunction · 0.85

Tested by

no test coverage detected