Re: [PATCH] Trim hint printed when gecos is empty.

From: Andy Parkins <andyparkins@gmail.com>
Date: 2006-11-28 22:46:54
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
andyparkins@gmail.com
-
To unsubscribe from this list: send the line "unsubscribe git" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Received on Tue Nov 28 22:47:17 2006

This archive was generated by hypermail 2.1.8 : 2006-11-28 22:48:22 EST