diff options
Diffstat (limited to 'branch.c')
-rw-r--r-- | branch.c | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -138,3 +138,11 @@ void create_branch(const char *head, if (real_ref) free(real_ref); } + +void remove_branch_state(void) +{ + unlink(git_path("MERGE_HEAD")); + unlink(git_path("rr-cache/MERGE_RR")); + unlink(git_path("MERGE_MSG")); + unlink(git_path("SQUASH_MSG")); +} |