Re: [PATCH] Trim hint printed when gecos is empty.
- From
- Andy Parkins <andyparkins@gmail.com>
- Date
- Nov 28, 2006, 11:46 UTC
- Message-ID
- <200611281146.56201.andyparkins@gmail.com>
- In-Reply-To
- <ekh5k8$vih$1@sea.gmane.org>
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