const char sign_off_header[] = "Signed-off-by: ";
-void remove_sequencer_state(void)
+static void remove_sequencer_state(void)
{
struct strbuf seq_dir = STRBUF_INIT;
struct ref_lock *ref_lock;
read_cache();
- if (checkout_fast_forward(from, to))
+ if (checkout_fast_forward(from, to, 1))
exit(1); /* the callee should have complained already */
ref_lock = lock_any_ref_for_update("HEAD", from, 0);
return write_ref_sha1(ref_lock, to, "cherry-pick");