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

2 messages, 2 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

sean [off-list ref] 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.

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

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

On Thu, 12 Jan 2006 19:58:20 -0800
Junio C Hamano [off-list ref] wrote:
sean [off-list ref] writes:
quoted
...   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
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help