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
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 cache.
With this patch "git update-index
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
On Mon, Dec 7, 2015 at 10:08 AM, Christian Couder
wrote:
> On Wed, Dec 2, 2015 at 8:16 PM, Duy Nguyen wrote:
>>> --- a/builtin/update-index.c
>>> +++ b/builtin/update-index.c
>>> @@ -121,7 +121,7 @@ static int
On Wed, Dec 2, 2015 at 8:16 PM, Duy Nguyen wrote:
> On Tue, Dec 1, 2015 at 9:31 PM, Christian Couder
> wrote:
>> Doing:
>>
>> cd /tmp
>> git --git-dir=/git/somewhere/else/.git update-index --untracked-cache
>>
>> doesn't work how one would
On Tue, Dec 1, 2015 at 9:31 PM, Christian Couder
wrote:
> 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
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 cache.
With this patch "git update-index
7 matches
Mail list logo