Andrew's git
/
gitweb.git
/ blobdiff
summary
|
log
|
commit
|
diff
|
tree
commit
grep
author
committer
pickaxe
?
re
cherry-pick: handle root commits with external strategies
[gitweb.git]
/
branch.c
diff --git
a/branch.c
b/branch.c
index da5c03e56545b79cb92dd850ed09e81c21f9162f..c0c865a4b1b0fca038f32b77f2239d7987438ff5 100644
(file)
--- a/
branch.c
+++ b/
branch.c
@@
-222,6
+222,7
@@
void create_branch(const char *head,
void remove_branch_state(void)
{
+ unlink(git_path("CHERRY_PICK_HEAD"));
unlink(git_path("MERGE_HEAD"));
unlink(git_path("MERGE_RR"));
unlink(git_path("MERGE_MSG"));