Re: git-commit: allow From: line to be entered in commit message

3 messages, 3 authors, 2016-06-15 · open the first message on its own page

Re: git-commit: allow From: line to be entered in commit message

From: Junio C Hamano <hidden>
Date: 2016-06-15 22:42:16

Joel Becker [off-list ref] writes:
Well, I'm wary of putting
GIT_AUTHOR_EMAIL=joel.becker@oracle.com as a permanent part of my
environment, for fear of overriding some other authors at some point.
The weakest default comes from .git/config so you could have
this in your .git/config:

	[user]
        	name = Joel Becker 
                email = Joel.Becker@oracle.com

and you can have GIT_AUTHOR_* override it as necessary.

Re: git-commit: allow From: line to be entered in commit message

From: Joel Becker <hidden>
Date: 2016-06-15 22:42:16

On Thu, Jan 12, 2006 at 11:06:07PM -0800, Junio C Hamano wrote:
Joel Becker [off-list ref] writes:
quoted
Well, I'm wary of putting
GIT_AUTHOR_EMAIL=joel.becker@oracle.com as a permanent part of my
environment, for fear of overriding some other authors at some point.
The weakest default comes from .git/config so you could have
this in your .git/config:

	[user]
        	name = Joel Becker 
                email = Joel.Becker@oracle.com
	This configuration is something I have the opportunity to forget
every time I call git-clone.  So I still need to leave it in the
environment permanently.
	Am I correct in assuming that "From:" lines will override the
environment when using git-applymbox?  If so, I guess leaving
GIT_AUTHOR_* in my environment permanently will be ok.

Joel

-- 

"War doesn't determine who's right; war determines who's left."

Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker@oracle.com
Phone: (650) 506-8127

Re: git-commit: allow From: line to be entered in commit message

From: Johannes Schindelin <hidden>
Date: 2016-06-15 22:42:16

Hi,

On Fri, 13 Jan 2006, Joel Becker wrote:
On Thu, Jan 12, 2006 at 11:06:07PM -0800, Junio C Hamano wrote:
quoted
Joel Becker [off-list ref] writes:
quoted
Well, I'm wary of putting
GIT_AUTHOR_EMAIL=joel.becker@oracle.com as a permanent part of my
environment, for fear of overriding some other authors at some point.
The weakest default comes from .git/config so you could have
this in your .git/config:

	[user]
        	name = Joel Becker 
                email = Joel.Becker@oracle.com
	This configuration is something I have the opportunity to forget
every time I call git-clone.  So I still need to leave it in the
environment permanently.
Of course, you could put it in your templates and never forget.

Ciao,
Dscho
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help