Re: git-commit: allow From: line to be entered in commit message
- From
sean <seanlkml@sympatico.ca>
- Date
- Jan 13, 2006, 03:58 UTC
- Message-ID
- <BAYC1-PASMTP1281924C5151CEB4DECC7CAE260@CEZ.ICE>
- In-Reply-To
- <7vek3chj8j.fsf@assigned-by-dhcp.cox.net>
On Thu, 12 Jan 2006 19:58:20 -0800 Junio C Hamano <junkio@cox.net> wrote:
Show 18 quoted lines
> sean <seanlkml@sympatico.ca> writes: > > > ... In fact, it would seem more > > consistent to tell someone that a From: line will be handled properly > > whether they use git-am or git-commit. > > Yuck. > > Somebody using am/applymbox is not writing that "From: " line > himself. The person who writes that "From: " line writes that > into his MUA when sending a patch --- that is "editing an > email", so there is a consistency between that activity and use > of word "From: ". > > The editor for commit message does not have anything to do with > e-mail. What you are talking about is not consistency, but > confusion. >
I don't imagine that the person "editing" the commit message is doing so in this case either, rather copy-n-pasting. If you're really dead-set against this method, you should at least consider adding it as a command line option, because having to set this via environment variables is a much bigger Yuck.
Sean