git/list[1] front-page[2] threads[3] people[4] search[5] about
 

Re: [PATCH 1/2] format-patch: Add a signature option (--signature)

From
Stephen Boyd <bebarino@gmail.com>
Date
Jun 16, 2010, 04:31 UTC
Message-ID
<4C1853AE.4010104@gmail.com>
In-Reply-To
<7viq5k6xbj.fsf@alter.siamese.dyndns.org>
On 06/15/2010 10:05 AM, Junio C Hamano wrote:
Show 15 quoted lines
> 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.
Show 10 quoted lines
>
>  (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.

Previous: Junio C HamanoNext: Stephen Boyd
Message 4 of 10 in “format-patch: Add a signature option (--signature)”
  1. 1/2 format-patch: Add a signature option (--signature)Stephen Boyd, Jun 15, 2010
  2. 2/2 completion: Add --signoff and format.signoffStephen Boyd, Jun 15, 2010
  3. Junio C HamanoJun 15, 2010
  4. Stephen BoydJun 16, 2010
  5. 1/2 format-patch: Add a signature option (--signature)Stephen Boyd, Jun 16, 2010
  6. 2/2 completion: Add --signature and format.signatureStephen Boyd, Jun 16, 2010
  7. Theodore TsoJun 16, 2010
  8. Junio C HamanoJun 16, 2010
  9. Stephen BoydJun 16, 2010
  10. Junio C HamanoJun 16, 2010

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.