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
Johannes Sixt <j.sixt@viscovery.net>
Date
Feb 10, 2009, 07:57 UTC
Message-ID
<4991337B.2010102@viscovery.net>
In-Reply-To
<loom.20090210T015515-886@post.gmane.org>
Eric Raible schrieb:
Show 11 quoted lines
> I've got a weird one which I haven't been able to figure out.
> The problem is that git sometimes takes a long time (~5-10 seconds)
> before producing output when it needs to internally spawn a pager.
> 
> This only occurs when I'm not plugged in to a network.
> When I'm plugged in everything operates at the normal speed.
> 
> This would be slow: git diff some-branch
> This would be fast: git diff some-branch | less
> 
> Unsetting core.pager (IOW setting core.pager="") is also fast.

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?

-- Hannes
Previous: Eric RaibleNext: Eric Raible
Message 3 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.