Skip to content

Commit e0e1ac5

Browse files
committed
Merge branch 'en/rebase-signoff-fix'
"git rebase --signoff" stopped working when the command was written in C, which has been corrected. * en/rebase-signoff-fix: rebase: fix saving of --signoff state for am-based rebases
2 parents b76a244 + 4fe7e43 commit e0e1ac5

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
@@ -706,7 +706,7 @@ static int rebase_write_basic_state(struct rebase_options *opts)
706706
write_file(state_dir_path("gpg_sign_opt", opts), "%s",
707707
opts->gpg_sign_opt);
708708
if (opts->signoff)
709-
write_file(state_dir_path("strategy", opts), "--signoff");
709+
write_file(state_dir_path("signoff", opts), "--signoff");
710710

711711
return 0;
712712
}

0 commit comments

Comments
 (0)