From: Jonathan Nieder <jrnieder@gmail.com>
To: "Nori, Sekhar" <nsekhar@ti.com>
Cc: Junio C Hamano <gitster@pobox.com>,
"git@vger.kernel.org" <git@vger.kernel.org>,
Jeff King <peff@peff.net>,
Sverre Rabbelier <srabbelier@gmail.com>
Subject: Re: [PATCH 1/1] git-am: provide configuration to enable signoff by default
Date: Wed, 1 Jun 2011 14:23:57 -0500 [thread overview]
Message-ID: <20110601191623.GA9836@elie> (raw)
In-Reply-To: <B85A65D85D7EB246BE421B3FB0FBB593024D2D22DE@dbde02.ent.ti.com>
Nori, Sekhar wrote:
> On Wed, Jun 01, 2011 at 22:44:30, Junio C Hamano wrote:
>> Also if it doesn't have to be a conscious act, what value does such a
>> boilerplate have? Such a project may be better off not using sign-off at
>> all to begin with.
>
> Its hard to argue against this. All I would say is it is probably
> much safer to enable sign off by default when accepting a patch
> than when preparing to send it. Yet, we have format.signoff but
> no am.signoff. On any project with conscious sign-off rules, one
> would never accept a patch without a sign-off from the original
> developer.
In that case, just the first sign-off should be enough and there is no
need to record the later ones, no?
In practice, with format.signoff hopefully people read the patches
they are sending out before mailing them. It is very easy to remove
the sign-off in an MUA or by editing patch files before running
"git send-email" if it was inappropriate. On the contrary, importing
patches en masse with "git am" is a common operation and I suspect
looking over the new history in detail before a "git push" is rare, so
the possibility of someone forgetting that an "[am] signOff" variable
is in effect is much more dangerous.
That said, I am all for giving people rope as long as there is some
legitimate use case documented to explain how not to hang themselves.
Could you say more about the example that motivated this? What
benefit would this provide to motivate not using "git am -3sc" (which
contains the -s on the commandline as a reminder)?
> So, just making it easier to accept patches which are already
> signed-off should be okay, I guess?
A related idea seems interesting: would a --check-sign-off option that
prevents applying a patch unless the last sign-off matches the email
sender be useful? Unfortunately individual people sometimes use
different addresses for the From and Signed-off-by lines in some
projects (like git and the Linux kernel) so I don't think I'd use such
a thing but in a more controlled environment I can imagine it might be
nice.
Thanks.
Sorry for the longwinded message; still, hope that helps.
Regards,
Jonathan
next prev parent reply other threads:[~2011-06-01 19:24 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2011-06-01 8:42 [PATCH 1/1] git-am: provide configuration to enable signoff by default Sekhar Nori
2011-06-01 16:03 ` Sverre Rabbelier
2011-06-02 19:10 ` Nori, Sekhar
2011-06-02 19:41 ` Thiago Farina
2011-06-01 16:39 ` Jeff King
2011-06-01 17:14 ` Junio C Hamano
2011-06-01 18:27 ` Nori, Sekhar
2011-06-01 19:23 ` Jonathan Nieder [this message]
2011-06-02 19:05 ` Nori, Sekhar
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=20110601191623.GA9836@elie \
--to=jrnieder@gmail.com \
--cc=git@vger.kernel.org \
--cc=gitster@pobox.com \
--cc=nsekhar@ti.com \
--cc=peff@peff.net \
--cc=srabbelier@gmail.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).