]> git.ipfire.org Git - thirdparty/git.git/commit - sequencer.c
rebase: extend --signoff support
authorPhillip Wood <phillip.wood@dunelm.org.uk>
Tue, 20 Mar 2018 11:10:55 +0000 (11:10 +0000)
committerJunio C Hamano <gitster@pobox.com>
Thu, 29 Mar 2018 18:09:03 +0000 (11:09 -0700)
commita852ec7f273cf61296a80ddfc26c23acf2163f2f
tree6abd2e0b2cb0e5b1de53c303950d4c661d341921
parent56173d28a5fb811c9525a8d5052ab6d83a07122e
rebase: extend --signoff support

Allow --signoff to be used with --interactive and --merge. In
interactive mode only commits marked to be picked, edited or reworded
will be signed off.

The main motivation for this patch was to allow one to run 'git rebase
--exec "make check" --signoff' which is useful when preparing a patch
series for publication and is more convenient than doing the signoff
with another --exec command.

This change also allows --root without --onto to work with --signoff
as well (--root with --onto was already supported).

Signed-off-by: Phillip Wood <phillip.wood@dunelm.org.uk>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Documentation/git-rebase.txt
git-rebase--interactive.sh
git-rebase--merge.sh
git-rebase.sh
sequencer.c
t/t3428-rebase-signoff.sh