From 9f79524a6af0527e380742ee103ca4fbcd440b42 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Tue, 18 Apr 2017 11:29:05 +0200 Subject: rebase: pass --[no-]signoff option to git am This makes it easy to sign off a whole patchset before submission. Signed-off-by: Giuseppe Bilotta Signed-off-by: Junio C Hamano --- git-rebase.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'git-rebase.sh') diff --git a/git-rebase.sh b/git-rebase.sh index 04f6e44bc8..0bced9b095 100755 --- a/git-rebase.sh +++ b/git-rebase.sh @@ -34,6 +34,7 @@ root! rebase all reachable commits up to the root(s) autosquash move commits that begin with squash!/fixup! under -i committer-date-is-author-date! passed to 'git am' ignore-date! passed to 'git am' +signoff passed to 'git am' whitespace=! passed to 'git apply' ignore-whitespace! passed to 'git apply' C=! passed to 'git apply' @@ -320,7 +321,7 @@ do --ignore-whitespace) git_am_opt="$git_am_opt $1" ;; - --committer-date-is-author-date|--ignore-date) + --committer-date-is-author-date|--ignore-date|--signoff|--no-signoff) git_am_opt="$git_am_opt $1" force_rebase=t ;; -- cgit v1.2.3