git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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
Previous: Junio C Hamano
Message 14 of 14 in “Re: git-commit: allow From: line to be entered in commit message”
  1. Joel BeckerJan 12, 2006
  2. Junio C HamanoJan 12, 2006
  3. Joel BeckerJan 13, 2006
  4. Junio C HamanoJan 13, 2006
  5. Joel BeckerJan 13, 2006
  6. Junio C HamanoJan 13, 2006
  7. Joel BeckerJan 13, 2006
  8. Junio C HamanoJan 13, 2006
  9. Junio C HamanoJan 13, 2006
  10. Johannes SchindelinJan 13, 2006
  11. Alex RiesenJan 12, 2006
  12. seanJan 13, 2006
  13. Junio C HamanoJan 13, 2006
  14. seanJan 13, 2006

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.