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
EREric Raible <raible+git@gmail.com>
Date
Feb 10, 2009, 09:20 UTC
Message-ID
<loom.20090210T085859-630@post.gmane.org>
In-Reply-To
<4991337B.2010102@viscovery.net>
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.

Every time I toggle between core.pager=less and core.ager=less (to disable it) it's slow the first time on either setting, then fast on subsequent runs.

It feels seems like something is trying to read something from the network, timing out, and caching the result. But as far as I know everything is local on my machine.

There are two ways of avoiding the delay: explicitly piping to less (so that stdout is not a tty), or setting core.pager="".

This started happening a few weeks ago (I update my git build often) when pager wasn't specified. I suppose I could bisect it, but I'm kinda swamped with $dayjob at the moment.

Previous: Johannes SixtNext: Johannes Schindelin
Message 4 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.