Re: Proposed git mv behavioral change
On 18 Oct 2007, at 11:35:00 PM, Jeff King wrote:
Show 7 quoted lines
> 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:
Show 6 quoted lines
> 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
> mv A.txt path/B.txt
> Point the index entry for A.txt to path/B.txt