MCPcopy Create free account
hub / github.com/git/git / remove_branch_state

Function remove_branch_state

branch.c:840–845  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

838}
839
840void remove_branch_state(struct repository *r, int verbose)
841{
842 sequencer_post_commit_cleanup(r, verbose);
843 unlink(git_path_squash_msg(r));
844 remove_merge_branch_state(r);
845}
846
847void die_if_checked_out(const char *branch, int ignore_current_worktree)
848{

Callers 5

clean_indexFunction · 0.85
cmd_rebaseFunction · 0.85
run_sequencerFunction · 0.85
cmd_resetFunction · 0.85
update_refs_for_switchFunction · 0.85

Calls 2

Tested by

no test coverage detected