git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
To: git@vger.kernel.org
Cc: Junio C Hamano <gitster@pobox.com>,
	Giuseppe Bilotta <giuseppe.bilotta@gmail.com>
Subject: [PATCH] rebase: pass --signoff option to git am
Date: Thu, 16 Sep 2010 11:07:59 +0200	[thread overview]
Message-ID: <1284628079-14156-1-git-send-email-giuseppe.bilotta@gmail.com> (raw)

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

             reply	other threads:[~2010-09-16  9:08 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-09-16  9:07 Giuseppe Bilotta [this message]
  -- strict thread matches above, loose matches on Subject: below --
2010-11-27 11:15 [PATCH] rebase: pass --signoff option to git am Giuseppe Bilotta
2010-11-28  0:32 ` Sverre Rabbelier
2010-11-27 19:05   ` Martin von Zweigbergk
2010-11-28  8:00     ` Giuseppe Bilotta
2010-11-29 22:57 ` Kevin Ballard
2010-11-30  8:09   ` Giuseppe Bilotta
2010-12-06 10:41     ` Giuseppe Bilotta
2010-12-06 17:28       ` Jonathan Nieder
2017-01-21 10:49 Giuseppe Bilotta
2017-01-23 18:13 ` Junio C Hamano
2017-01-23 20:03   ` Giuseppe Bilotta
2017-01-23 20:16     ` Junio C Hamano
2017-01-23 22:35       ` Giuseppe Bilotta
2017-01-23 23:27         ` Junio C Hamano
2017-01-24  7:06           ` Giuseppe Bilotta
2017-01-26 18:18     ` Giuseppe Bilotta

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1284628079-14156-1-git-send-email-giuseppe.bilotta@gmail.com \
    --to=giuseppe.bilotta@gmail.com \
    --cc=git@vger.kernel.org \
    --cc=gitster@pobox.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).