From: Michael Witten Date: Fri, 19 Oct 2007 03:40:47 GMT Subject: Re: Proposed git mv behavioral change Message-ID: <93BF5798-F1C3-48EE-8233-A0F111BF8138@MIT.EDU> In-Reply-To: <20071019033500.GB10697@coredump.intra.peff.net> On 18 Oct 2007, at 11:35:00 PM, Jeff King wrote: > 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? I think you're right. Anyway, succinctly: > What you want to happen is the following: > > git show HEAD:A.txt > path/B.txt > git add path/B.txt > mv A.txt B.txt > git rm A.txt Better: > mv A.txt path/B.txt > Point the index entry for A.txt to path/B.txt I hope that's right.