Re: Proposed git mv behavioral change
- From
Jeff King <peff@peff.net>
- Date
- Oct 19, 2007, 03:35 UTC
- Message-ID
- <20071019033500.GB10697@coredump.intra.peff.net>
- In-Reply-To
- <7E3647F4-E61C-4FBE-9AA7-81CDBE324308@MIT.EDU>
On Thu, Oct 18, 2007 at 11:26:32PM -0400, Michael Witten wrote:
Show 7 quoted lines
>>> touch the working tree". Here we want to touch the working tree >>> in the sense of moving the file. So --cached is not the correct >>> option name. >> >> Doesn't "mv" do that? > > We only want to move it, not also add its dirty contents.
Right, I mean regular "mv", not "git-mv". The only thing that doesn't accomplish is moving the "from" entry in the index to the "to" entry (but I'm not sure that's such a good idea). Perhaps I've lost sight of your original goal. Can you state more succintly what you are trying to accomplish?
-Peff