Skip to content

Commit 4fe7e43

Browse files
newrengitster
authored andcommitted
rebase: fix saving of --signoff state for am-based rebases
This was an error introduced in the conversion from shell in commit 2185362 ("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 <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 53a06cf commit 4fe7e43

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

builtin/rebase.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -685,7 +685,7 @@ static int rebase_write_basic_state(struct rebase_options *opts)
685685
write_file(state_dir_path("gpg_sign_opt", opts), "%s",
686686
opts->gpg_sign_opt);
687687
if (opts->signoff)
688-
write_file(state_dir_path("strategy", opts), "--signoff");
688+
write_file(state_dir_path("signoff", opts), "--signoff");
689689

690690
return 0;
691691
}

0 commit comments

Comments
 (0)