Re: [PATCH v2] cache-tree: do not try to use an invalidated subtree info to build a tree

2014-09-03 Thread Eric Sunshine
On Tue, Sep 2, 2014 at 6:39 PM, Junio C Hamano wrote: > We punt from repairing the cache-tree during a branch switching if > it involves having to create a new tree object that does not yet > exist in the object store. "mkdir dir && >dir/file && git add dir" > followed by "git checkout" is one ex

Re: [PATCH v2] cache-tree: do not try to use an invalidated subtree info to build a tree

2014-09-02 Thread David Turner
On Tue, 2014-09-02 at 15:39 -0700, Junio C Hamano wrote: > We punt from repairing the cache-tree during a branch switching if > it involves having to create a new tree object that does not yet > exist in the object store. "mkdir dir && >dir/file && git add dir" > followed by "git checkout" is one

[PATCH v2] cache-tree: do not try to use an invalidated subtree info to build a tree

2014-09-02 Thread Junio C Hamano
We punt from repairing the cache-tree during a branch switching if it involves having to create a new tree object that does not yet exist in the object store. "mkdir dir && >dir/file && git add dir" followed by "git checkout" is one example, when a tree that records the state of such "dir/" is not