]> git.ipfire.org Git - thirdparty/git.git/blobdiff - branch.c
Revert "reset: Make reset remove the sequencer state"
[thirdparty/git.git] / branch.c
index fecedd3b4635c79adcbe0e26613af079beff64d0..a6b6722e24bc196a54be5ab1240e8932e53483e2 100644 (file)
--- a/branch.c
+++ b/branch.c
@@ -240,6 +240,7 @@ void create_branch(const char *head,
 void remove_branch_state(void)
 {
        unlink(git_path("CHERRY_PICK_HEAD"));
+       unlink(git_path("REVERT_HEAD"));
        unlink(git_path("MERGE_HEAD"));
        unlink(git_path("MERGE_RR"));
        unlink(git_path("MERGE_MSG"));