From: Stephen Boyd <bebarino@gmail.com>
To: Junio C Hamano <gitster@pobox.com>
Cc: git@vger.kernel.org
Subject: Re: [PATCH 1/2] format-patch: Add a signature option (--signature)
Date: Tue, 15 Jun 2010 21:31:42 -0700 [thread overview]
Message-ID: <4C1853AE.4010104@gmail.com> (raw)
In-Reply-To: <7viq5k6xbj.fsf@alter.siamese.dyndns.org>
On 06/15/2010 10:05 AM, Junio C Hamano wrote:
> Stephen Boyd <bebarino@gmail.com> write
>> @@ -180,6 +180,12 @@ will want to ensure that threading is disabled for `git send-email`.
>> containing the shortlog and the overall diffstat. You can
>> fill in a description in the file before sending it out.
>>
>> +--signature=<signature>::
>> + Add a signature to each patch and, if --cover-letter is specified,
>> + the cover letter. Per RFC 3676 the signature is separated from the
>> + body by '-- '.
>
> Wouldn't "Add a signature to each message produced" be easier to understand?
> Also perhaps s/body by '-- '/& a line with '-- ' on it/?
>
> Don't we want either an extra header to this entry ("--no-signature::")
> and advertise it as a way to disable signature generation?
Both sound good.
>
> (3) there is no way to say "no signature, ever" in the configuration.
>
> Perhaps we would want to do this instead?
>
> static void print_signature(void)
> {
> if (signature && *signature)
> printf("-- \n%s\n\n", signature);
> }
Sounds good too. It's not entirely obvious that format.signature=""
means no signature ever, but that's where documentation steps in I guess.
next prev parent reply other threads:[~2010-06-16 4:34 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-06-15 5:00 [PATCH 1/2] format-patch: Add a signature option (--signature) Stephen Boyd
2010-06-15 5:00 ` [PATCH 2/2] completion: Add --signoff and format.signoff Stephen Boyd
2010-06-15 17:05 ` [PATCH 1/2] format-patch: Add a signature option (--signature) Junio C Hamano
2010-06-16 4:31 ` Stephen Boyd [this message]
2010-06-16 5:59 ` [PATCHv2 " Stephen Boyd
2010-06-16 5:59 ` [PATCHv2 2/2] completion: Add --signature and format.signature Stephen Boyd
2010-06-16 13:13 ` [PATCH 1/2] format-patch: Add a signature option (--signature) Theodore Tso
2010-06-16 16:53 ` Junio C Hamano
2010-06-16 19:43 ` Stephen Boyd
2010-06-16 20:55 ` Junio C Hamano
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=4C1853AE.4010104@gmail.com \
--to=bebarino@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).