From: Andy Parkins Date: Tue, 28 Nov 2006 11:46:54 GMT Subject: Re: [PATCH] Trim hint printed when gecos is empty. Message-ID: <200611281146.56201.andyparkins@gmail.com> In-Reply-To: On Tuesday 2006 November 28 11:15, Jakub Narebski wrote: > Yes. You are supposed to add Signed-off-by on commit (I hope that > git-format-patch doesn't dulicate signoff lines), using git-commit -s. > But perhaps a config option... I achieve reasonable results by having the following in my .git/config [format] headers = "To: git@vger.kernel.org\n" [alias] email=format-patch --signoff --stdout By tuning this per-project I know that a "git email" will generate the correct sort of patch for this project. The thing that's missing is a config option to make git-commit add the signoff automatically. I think this would be useful, as "signing off" is probably a per-project decision rather than a per-commit decision. It seems awkward to require the user to remember what the project policy is and always get the right git-commit for each project. Andy -- Dr Andy Parkins, M Eng (hons), MIEE