[PATCH] rebase: pass --signoff option to git am
- From
Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
- Date
- Sep 16, 2010, 09:07 UTC
- Message-ID
- <1284628079-14156-1-git-send-email-giuseppe.bilotta@gmail.com>
Signed-off-by: Giuseppe Bilotta <giuseppe.bilotta@gmail.com> --- git-rebase.sh | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-)
Although this patch is born to help people like me that forget to sign off their patchset before sending, it can also be of help to maintainers that want to add their signoff to a patchset in case they forgot during the `git am` run. (Also, there is no reason why this `git am` option should not be available through `git rebase`.)
diff --git a/git-rebase.sh b/git-rebase.sh index 3335cee..cdb4299 100755 --- a/git-rebase.sh +++ b/git-rebase.sh @@ -358,7 +358,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) git_am_opt="$git_am_opt $1" force_rebase=t ;;
-- 1.7.3.rc1.230.g8b572