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
Родитель b76a244c9d 4fe7e43c53
Коммит e0e1ac5db0
1 изменённых файлов: 1 добавлений и 1 удалений

Просмотреть файл

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