Re: [PATCH v3 04/11] update-index: add untracked cache notifications

2015-12-24 Thread Christian Couder
On Thu, Dec 24, 2015 at 11:01 AM, Duy Nguyen wrote: > On Thu, Dec 24, 2015 at 4:03 AM, Christian Couder > wrote: >> @@ -1135,10 +1135,16 @@ int cmd_update_index(int argc, const char **argv, >> const char *prefix) >> } >>

Re: [PATCH v3 04/11] update-index: add untracked cache notifications

2015-12-24 Thread Duy Nguyen
On Thu, Dec 24, 2015 at 4:03 AM, Christian Couder wrote: > Attempting to flip the untracked-cache feature on for a random index > file with > > cd /random/unrelated/place > git --git-dir=/somewhere/else/.git update-index --untracked-cache > > would not work as

[PATCH v3 04/11] update-index: add untracked cache notifications

2015-12-23 Thread Christian Couder
Attempting to flip the untracked-cache feature on for a random index file with cd /random/unrelated/place git --git-dir=/somewhere/else/.git update-index --untracked-cache would not work as you might expect. Because flipping the feature on in the index also records the location of the