Re: [PATCH 1/8] update-index: add untracked cache notifications

2015-12-11 Thread Christian Couder
On Tue, Dec 8, 2015 at 8:03 PM, Junio C Hamano wrote: > Christian Couder writes: > >> Doing: >> >> cd /tmp >> git --git-dir=/git/somewhere/else/.git update-index --untracked-cache >> >> doesn't work how one would expect. It hardcodes "/tmp" as the directory >> that "works" into the index, so

Re: [PATCH 1/8] update-index: add untracked cache notifications

2015-12-08 Thread Junio C Hamano
Christian Couder writes: > Doing: > > cd /tmp > git --git-dir=/git/somewhere/else/.git update-index --untracked-cache > > doesn't work how one would expect. It hardcodes "/tmp" as the directory > that "works" into the index, so if you use the working tree, you'll > never use the untracked cac