1
0
mirror of https://github.com/git/git.git synced 2024-09-24 11:31:54 +02:00

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
This commit is contained in:
Junio C Hamano 2020-01-02 12:38:30 -08:00
commit e0e1ac5db0

View File

@ -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;
}