On Fri, Jan 18, 2019 at 08:14:32AM -0500, Stephen Gallagher wrote:
On Fri, Jan 18, 2019 at 4:13 AM John Harris
<johnmh(a)splentity.com> wrote:
>
> On Friday, January 18, 2019 4:07:19 AM EST Richard W.M. Jones wrote:
> > TIL - there's a git feature for adding S-o-B to a commit.
> > I always typed it out by hand ...
>
> Not only that, but you can add an option to your either global or project-
> specific .gitconfig to automatically sign off for you. I use this to
> automatically sign (-S, not to be confused with signing off, -s) my commits.
>
For the record, the option is:
format.signoff
A boolean value which lets you enable the -s/--signoff option of
format-patch by default. Note: Adding the Signed-off-by: line to a
patch should be a conscious act and means that you certify you have
the rights to submit this work under the same open source license.
Please see the SubmittingPatches document for further discussion.
This is only useful when using a mail workflow for submitting patches
because it does not affect commit afaik. There are other options for
commits, though:
https://stackoverflow.com/questions/15015894/git-add-signed-off-by-line-u...
Nevertheless, then it becomes mostly boilerplate IMHO.
Kind regards
Till