summaryrefslogtreecommitdiff
path: root/branch.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-10-05 12:36:19 -0700
committerJunio C Hamano <gitster@pobox.com>2011-10-05 12:36:19 -0700
commitcd4093b6036af696310b1867e9e916485d53ccf4 (patch)
tree23449c4e6c0d02bdfd050707747168fe936e5048 /branch.c
parent821b315ebebd5371abd9124478261064b36a6592 (diff)
parentfb3198c57f4dfa462e29844d47fa9eececc3bb8f (diff)
downloadgit-cd4093b6036af696310b1867e9e916485d53ccf4.tar.gz
Merge branch 'rr/revert-cherry-pick-continue'
* rr/revert-cherry-pick-continue: builtin/revert.c: make commit_list_append() static revert: Propagate errors upwards from do_pick_commit revert: Introduce --continue to continue the operation revert: Don't implicitly stomp pending sequencer operation revert: Remove sequencer state when no commits are pending reset: Make reset remove the sequencer state revert: Introduce --reset to remove sequencer state revert: Make pick_commits functionally act on a commit list revert: Save command-line options for continuing operation revert: Save data for continuing after conflict resolution revert: Don't create invalid replay_opts in parse_args revert: Separate cmdline parsing from functional code revert: Introduce struct to keep command-line options revert: Eliminate global "commit" variable revert: Rename no_replay to record_origin revert: Don't check lone argument in get_encoding revert: Simplify and inline add_message_to_msg config: Introduce functions to write non-standard file advice: Introduce error_resolve_conflict
Diffstat (limited to 'branch.c')
-rw-r--r--branch.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/branch.c b/branch.c
index fecedd3b46..d8098762f6 100644
--- a/branch.c
+++ b/branch.c
@@ -3,6 +3,7 @@
#include "refs.h"
#include "remote.h"
#include "commit.h"
+#include "sequencer.h"
struct tracking {
struct refspec spec;
@@ -245,4 +246,5 @@ void remove_branch_state(void)
unlink(git_path("MERGE_MSG"));
unlink(git_path("MERGE_MODE"));
unlink(git_path("SQUASH_MSG"));
+ remove_sequencer_state(0);
}