RFH: spawning pager takes long time when when unconnected from network
- From
- Eric Raible <raible+git@gmail.com>
- Date
- Feb 10, 2009, 02:07 UTC
- Message-ID
- <loom.20090210T015515-886@post.gmane.org>
Hello All -
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.
Tracking this down has been problematic, because I suspect it's got to do with the relative timing of the two processes, and I don't know the code well enough to figure out an effective debugging strategy.
Any ideas or things to try?
Thanks - Eric