Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/git/git
/ rollback_lock_file
Function
rollback_lock_file
lockfile.c:354–358 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
352
}
353
354
int rollback_lock_file(struct lock_file *lk)
355
{
356
delete_tempfile(&lk->pid_tempfile);
357
return delete_tempfile(&lk->tempfile);
358
}
Callers
15
unix_ss_create
Function · 0.85
repo_config_set_multivar_in_file_gently
Function · 0.85
repo_config_copy_or_rename_section_in_file
Function · 0.85
write_index_as_tree
Function · 0.85
merge_ort_generic
Function · 0.85
repo_write_loose_object_map
Function · 0.85
write_one_object
Function · 0.85
reset_head
Function · 0.85
checkout_fast_forward
Function · 0.85
write_message
Function · 0.85
do_recursive_merge
Function · 0.85
read_and_refresh_cache
Function · 0.85
Calls
1
delete_tempfile
Function · 0.85
Tested by
no test coverage detected