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

Re: Allow editing of a revert-message

From
Linus Torvalds <torvalds@osdl.org>
Date
Nov 23, 2005, 19:42 UTC
Message-ID
<Pine.LNX.4.64.0511231141030.13959@g5.osdl.org>
In-Reply-To
<7v7jaz5fj7.fsf@assigned-by-dhcp.cox.net>
On Wed, 23 Nov 2005, Junio C Hamano wrote:
Show 10 quoted lines
>
> I think we can do
> 
> 	-e)
> 		edit="-e" ;;
>         ..
> 
> 	git-commit -n -F .msg $edit
> 
> to lose the ${EDITOR-${VISUAL-vi}} part..

You are of course right. That would also fix the total idiocy of my patch that had you editing the message even if it wasn't used due to a "-n" that disables commits ;)

		Linus
Previous: Junio C Hamano
Message 3 of 3 in “Allow editing of a revert-message”
  1. Linus TorvaldsNov 23, 2005
  2. Junio C HamanoNov 23, 2005
  3. Linus TorvaldsNov 23, 2005

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.