git/list[1] front-page[2] threads[3] people[4] search[5] about
 

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

From
Andreas Ericsson <ae@op5.se>
Date
Feb 10, 2009, 11:09 UTC
Message-ID
<49916058.3070800@op5.se>
In-Reply-To
<279b37b20902100253v3cfd8e45kefa6da7de2ea4a4b@mail.gmail.com>
Eric Raible wrote:
Show 25 quoted lines
> On Tue, Feb 10, 2009 at 2:24 AM, Johannes Schindelin
> <Johannes.Schindelin@gmx.de> 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                   andreas.ericsson@op5.se
OP5 AB                             www.op5.se
Tel: +46 8-230225                  Fax: +46 8-230231
Previous: Jay Soffian
Message 12 of 12 in “RFH: spawning pager takes long time when when unconnected from network”
  1. Eric RaibleFeb 10, 2009
  2. Eric RaibleFeb 10, 2009
  3. Johannes SixtFeb 10, 2009
  4. Eric RaibleFeb 10, 2009
  5. Johannes SchindelinFeb 10, 2009
  6. Eric RaibleFeb 10, 2009
  7. Johannes SchindelinFeb 10, 2009
  8. Eric RaibleFeb 10, 2009
  9. Jeff KingFeb 10, 2009
  10. Eric RaibleFeb 10, 2009
  11. Jay SoffianFeb 10, 2009
  12. Andreas EricssonFeb 10, 2009

Read the whole thread, see it on lore, or plain text.

$ cat FOOTERMessages come from the public archive at lore.kernel.org/git, fetched every hour. The front page is chosen and written each morning by an AI editor and can be wrong; the threads themselves are the record. About and API. For agents: an MCP server at https://gitlist.dev/mcp, and any thread, story or person page as Markdown by adding .md to its URL (or sending Accept: text/markdown). Details in /llms.txt.