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

Re: [PATCH] Add configuration variable for sign-off to format-patch

From
Andreas Ericsson <ae@op5.se>
Date
Mar 31, 2009, 19:47 UTC
Message-ID
<49D27359.1040703@op5.se>
In-Reply-To
<20090331185018.GD72569@macbook.lan>
Heiko Voigt wrote:
Show 26 quoted lines
> If you regularly create patches which require a Signed-off: line you may
> want to make it your default to add that line. It also helps you not to forget
> to add the -s/--signoff switch.
> 
> Signed-off-by: Heiko Voigt <hvoigt@hvoigt.net>
> ---
> 
> Because it happened to me twice already that I forgot to add the switch.
> 
>  Documentation/config.txt           |    4 ++++
>  Documentation/git-format-patch.txt |    1 +
>  builtin-log.c                      |   23 ++++++++++++++++-------
>  3 files changed, 21 insertions(+), 7 deletions(-)
> 
> diff --git a/Documentation/config.txt b/Documentation/config.txt
> index ad22cb8..ed85536 100644
> --- a/Documentation/config.txt
> +++ b/Documentation/config.txt
> @@ -715,6 +715,10 @@ format.thread::
>  	A true boolean value is the same as `shallow`, and a false
>  	value disables threading.
>  
> +format.signoff::
> +	This lets you enable the -s/--signoff option of format-patch by
> +	default. It takes a boolean value.
> +

Can we please make it "formatpatch.signoff" or some such instead? Just plain "format" is a bit too generic for my taste.

-- 
Andreas Ericsson                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231

Considering the successes of the wars on alcohol, poverty, drugs and
terror, I think we should give some serious thought to declaring war
on peace.
Previous: Heiko VoigtNext: Heiko Voigt
Message 2 of 13 in “Add configuration variable for sign-off to format-patch”
  1. Add configuration variable for sign-off to format-patchHeiko Voigt, Mar 31, 2009
  2. Andreas EricssonMar 31, 2009
  3. Heiko VoigtApr 1, 2009
  4. Jeff KingMar 31, 2009
  5. Heiko VoigtMar 31, 2009
  6. Jeff KingApr 1, 2009
  7. Add configuration variable for sign-off to format-patchHeiko Voigt, Apr 1, 2009
  8. Sverre RabbelierApr 1, 2009
  9. Junio C HamanoApr 6, 2009
  10. Andreas EricssonApr 6, 2009
  11. Matthieu MoyApr 6, 2009
  12. Heiko VoigtApr 6, 2009
  13. Jeff KingApr 7, 2009

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.