зеркало из https://github.com/microsoft/git.git
rebase -p: error out if --signoff is given
rebase --preserve-merges does not support --signoff so error out rather than just silently ignoring it so that the user knows the commits will not be signed off. Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Родитель
a852ec7f27
Коммит
b79966aa38
|
@ -472,6 +472,8 @@ fi
|
||||||
|
|
||||||
if test -n "$signoff"
|
if test -n "$signoff"
|
||||||
then
|
then
|
||||||
|
test -n "$preserve_merges" &&
|
||||||
|
die "$(gettext "error: cannot combine '--signoff' with '--preserve-merges'")"
|
||||||
git_am_opt="$git_am_opt $signoff"
|
git_am_opt="$git_am_opt $signoff"
|
||||||
force_rebase=t
|
force_rebase=t
|
||||||
fi
|
fi
|
||||||
|
|
Загрузка…
Ссылка в новой задаче