git.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Johannes Sixt <j.sixt@viscovery.net>
To: Eric Raible <raible+git@gmail.com>
Cc: git@vger.kernel.org
Subject: Re: RFH: spawning pager takes long time when when unconnected from network
Date: Tue, 10 Feb 2009 08:57:47 +0100	[thread overview]
Message-ID: <4991337B.2010102@viscovery.net> (raw)
In-Reply-To: <loom.20090210T015515-886@post.gmane.org>

Eric Raible schrieb:
> 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

  parent reply	other threads:[~2009-02-10  7:59 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-02-10  2:07 RFH: spawning pager takes long time when when unconnected from network Eric Raible
2009-02-10  2:27 ` Eric Raible
2009-02-10  7:57 ` Johannes Sixt [this message]
2009-02-10  9:20   ` Eric Raible
2009-02-10 10:24     ` Johannes Schindelin
2009-02-10 10:53       ` Eric Raible
2009-02-10 11:03         ` Johannes Schindelin
2009-02-10 11:39           ` Eric Raible
2009-02-10 11:07         ` Jeff King
2009-02-10 11:55           ` Eric Raible
2009-02-10 16:34             ` Jay Soffian
2009-02-10 11:09         ` Andreas Ericsson

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4991337B.2010102@viscovery.net \
    --to=j.sixt@viscovery.net \
    --cc=git@vger.kernel.org \
    --cc=raible+git@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).