Re: Proposed git mv behavioral change
On 18 Oct 2007, at 10:15:29 PM, Shawn O. Pearce wrote:
Show 11 quoted lines
> git-add amounts to either inserting a new path->stat/sha1 entry
> in the index, or updating an existing entry with new stat/sha1
> information.
>
> git-rm amounts to removing a path->stat/sha1 entry from the index.
> It's just gone once the git-rm is completed. As if it was never
> there to begin with.
>
> A git-commit (really git-write-tree but same difference to the
> end-user) stores whatever is in the index as the gospel truth for
> how that commit's files should appear.
Ah. Basically my 'pseudo-code' is correct, but redundant.
On 18 Oct 2007, at 10:16:18 PM, Jeff King wrote:
> Eh? The changes will make it into history when you commit. Or
> perhaps I
> don't understand your question. Can you rephrase it?
I misunderstood the (lack) of details.
On 18 Oct 2007, at 10:15:29 PM, Shawn O. Pearce wrote:
> But its all really as simple as it seems.
It's about time I read more thoroughly through the manual!
Thanks.