From: Andreas Ericsson Date: Tue, 31 Mar 2009 19:47:37 GMT Subject: Re: [PATCH] Add configuration variable for sign-off to format-patch Message-ID: <49D27359.1040703@op5.se> In-Reply-To: <20090331185018.GD72569@macbook.lan> Heiko Voigt wrote: > 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 > --- > > 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.