From 4fe7e43c53a6ad2948919503188bb2d34ce02fa9 Mon Sep 17 00:00:00 2001 From: Elijah Newren Date: Fri, 20 Dec 2019 18:53:56 +0000 Subject: rebase: fix saving of --signoff state for am-based rebases This was an error introduced in the conversion from shell in commit 21853626eac5 ("built-in rebase: call `git am` directly", 2019-01-18), which was noticed by a random browsing of the code. Signed-off-by: Elijah Newren Signed-off-by: Junio C Hamano --- builtin/rebase.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/builtin/rebase.c b/builtin/rebase.c index 4a20582e72..86f869c021 100644 --- a/builtin/rebase.c +++ b/builtin/rebase.c @@ -685,7 +685,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; } -- cgit v1.2.3