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

Re: [PATCH] Stash away the original head in ORIG_HEAD when resetting.

From
Junio C Hamano <junkio@cox.net>
Date
Aug 9, 2005, 02:48 UTC
Message-ID
<7v7jevzuz6.fsf@assigned-by-dhcp.cox.net>
In-Reply-To
<Pine.LNX.4.63.0508081111020.26210@wgmdd8.biozentrum.uni-wuerzburg.de>
Johannes Schindelin <Johannes.Schindelin@gmx.de> writes:
Show 7 quoted lines
> Since there are not many users of git-commit's *-m* flag right now: Is it 
> necessary to confuse CVS people, who expect to be able to write
>
> 	git commit -m "I did this and that"
>
> I do not want to be too intrusive, but I think up to now there is just the 
> mailbox tools which use this feature, and users of git-reset. Thoughts?

I could be talked into renaming the option to something else and using -m in a way that is CVS compatible.

That flag originally came from JIT, which uses:
  -M <commit>	literally take the commit message, no editing necessary;
  -m <commit>	start with commit message in this one but have user edit;
  -l <file>	use the log message in this file;
  -l -		read the log message from stdin.
Previous: Johannes Schindelin
Message 4 of 4 in “Stash away the original head in ORIG_HEAD when resetting.”
  1. Stash away the original head in ORIG_HEAD when resetting.Junio C Hamano, Aug 8, 2005
  2. Johannes SchindelinAug 8, 2005
  3. Johannes SchindelinAug 8, 2005
  4. Junio C HamanoAug 9, 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.