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
JBJoel Becker <joel.becker@oracle.com>
Date
Jan 13, 2006, 06:58 UTC
Message-ID
<20060113065855.GJ14196@ca-server1.us.oracle.com>
In-Reply-To
<7vhd89mc0y.fsf@assigned-by-dhcp.cox.net>
On Thu, Jan 12, 2006 at 12:22:53PM -0800, Junio C Hamano wrote:
Show 6 quoted lines
> Committing somebody else's changes by hand ought to be a rare
> event.  Otherwise that is an indication that there needs to be a
>...
> Most of the time when I use "git commit", I'll be committing my
> own changes; I do not want to see "From: me" every time I
> commit.
	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.
On the other hand, if I don't put it in the environment, I get a bogus
author line (jlbec@thisbox.oracle.com).  So I end up having to
hand-write the AUTHOR_EMAIL lines on each commit line; not a solution
I'm happy with.
	This way, I'd have a chance to edit it and be sure :-)
Joel
 
-- 
Life's Little Instruction Book #274

	"Leave everything a little better than you found it."

Joel Becker
Principal Software Developer
Oracle
E-mail: joel.becker@oracle.com
Phone: (650) 506-8127
Previous: Junio C HamanoNext: Junio C Hamano
Message 3 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.