Re: [PATCH v3 0/8] Fix GIT_CEILING_DIRECTORIES that contain symlinks
- From
Anders Kaseorg <andersk@mit.edu>
- Date
- Feb 20, 2013, 06:20 UTC
- Message-ID
- <51246B31.6000605@mit.edu>
- In-Reply-To
- <508E0FAC.5050600@alum.mit.edu>
On 10/29/2012 01:10 AM, Michael Haggerty wrote:
> How do you use GIT_CEILING_DIRECTORIES that the proposed changes cause a > slowdown?
Sorry to bring up this old thread again, but I just realized why my computer has been acting so slow when I’m not connected to the network. I put various network filesystem paths in $GIT_CEILING_DIRECTORIES, such as /afs/athena.mit.edu/user/a/n/andersk (to avoid hitting its parents /afs/athena.mit.edu, /afs/athena.mit.edu/user/a, and /afs/athena.mit.edu/user/a/n which all live in different AFS volumes). Now when I’m not connected to the network, every invocation of Git, including the __git_ps1 in my shell prompt, waits for AFS to timeout.
Obviously I’m going to stop using $GIT_CEILING_DIRECTORIES now that I know what the problem is, but I figured you might want to know why this feature is now useless for me.
Anders