Allow signing off a whole patchset by rebasing it with the --signoff option, which is simply passed through to git am.
Compared to previous incarnations, I've split the am massaging to separate commits (for cleanliness and easier reverts if needed), and introduced a test case for both --signoff and its negation. Giuseppe Bilotta (3): builtin/am: obey --signoff also when --rebasing builtin/am: fold am_signoff() into am_append_signoff() rebase: pass --[no-]signoff option to git am Documentation/git-rebase.txt | 5 +++++ builtin/am.c | 39 +++++++++++++++++-------------------- git-rebase.sh | 3 ++- t/t3428-rebase-signoff.sh | 46 ++++++++++++++++++++++++++++++++++++++++++++ 4 files changed, 71 insertions(+), 22 deletions(-) create mode 100755 t/t3428-rebase-signoff.sh -- 2.12.2.765.g2bf946761b