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

Re: rm and mv commands: should I use them?

From
Robin Rosenberg <robin.rosenberg.lists@dewire.com>
Date
Jan 7, 2008, 18:37 UTC
Message-ID
<200801071937.38976.robin.rosenberg.lists@dewire.com>
In-Reply-To
<20080107030642.GA18194@coredump.intra.peff.net>
måndagen den 7 januari 2008 skrev Jeff King:
> On Sun, Jan 06, 2008 at 06:05:16PM -0800, Junio C Hamano wrote:
...
Show 8 quoted lines
> > "git mv" should not have staged the change.  It should have
> > moved the index entry from Makefile to makefile and moved the
> > work tree files.
> 
> I thought there was some discussion about this a few months ago,
> concerning what exactly it should do, and that was how we arrived at the
> current behavior. However, I can't seem to find it now. Maybe I dreamed
> it.
I had the same dream.
-- robin
Previous: Jeff KingNext: Jay Soffian
Message 9 of 11 in “rm and mv commands: should I use them?”
  1. Jon HancockJan 6, 2008
  2. David BrownJan 6, 2008
  3. Brian SwetlandJan 6, 2008
  4. Jeff KingJan 6, 2008
  5. Linus TorvaldsJan 6, 2008
  6. Jeff KingJan 7, 2008
  7. Junio C HamanoJan 7, 2008
  8. Jeff KingJan 7, 2008
  9. Robin RosenbergJan 7, 2008
  10. Jay SoffianJan 7, 2008
  11. David BrownJan 7, 2008

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.