Subject: Re: RFH: spawning pager takes long time when when unconnected from network

From: Andreas Ericsson <[email-masked]>
Date: Tue, 10 Feb 2009 12:09:12 +0100

Eric Raible wrote:
> On Tue, Feb 10, 2009 at 2:24 AM, Johannes Schindelin
> <[email-masked]> wrote:
>> Hi,
>>
>> On Tue, 10 Feb 2009, Eric Raible wrote:
>>
>>> Johannes Sixt <j.sixt <at> viscovery.net> writes:
>>>
>>>> Do you have a directory in your PATH that points to a disconnected network
>>>> drive? Do you use the default pager settings, or did you customize the pager?
>>> All components in my path are local.
>> Could you run it with GIT_TRACE=<file>?
>>
>> Ciao,
>> Dscho
>>
> 
> The first thing I tried was to set GIT_TRACE=1, and it doesn't give much:
> trace: built-in: git 'diff' 'ss' '--name-only'
> trace: run_command: 'sh' '-c' 'less'
> 
> The long pause in question begins after the above output is produced
> but before the list of files is shown.  The output is identical when setting
> GIT_TRACE to a file.
> 

Might be a stupid question, but do you have anything network mounted
anywhere in your $PATH?

Do you get the same delay with an absolute path to less in core.pager?

-- 
Andreas Ericsson                   [email-masked]
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231