Re: git-commit: allow From: line to be entered in commit message
On Thu, Jan 12, 2006 at 11:06:07PM -0800, Junio C Hamano wrote:
Show 12 quoted lines
> Joel Becker <Joel.Becker@oracle.com> 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
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