diff --git a/builtin/rebase.c b/builtin/rebase.c index ddf33bc9d4..e354ec84bb 100644 --- a/builtin/rebase.c +++ b/builtin/rebase.c @@ -706,7 +706,7 @@ static int rebase_write_basic_state(struct rebase_options *opts) write_file(state_dir_path("gpg_sign_opt", opts), "%s", opts->gpg_sign_opt); if (opts->signoff) - write_file(state_dir_path("strategy", opts), "--signoff"); + write_file(state_dir_path("signoff", opts), "--signoff"); return 0; }