byplayer/egg — Issue #23: egg does not work if .git is symlinked
Author: offbyone
Created: 2011-12-07 18:09:35+00:00
State: open

Our in-house SCM integration & build tools have a bit of an odd setup; the .git directory in my working copy is symlinked into a shared repo elsewhere:

proj/.git -> /store/proj.git

egg-git-dir returns /store/proj.git as the git directory and then uses that everywhere. However, none of my source files are near there.

I'm not sure what the _right_ fix for this is; it might be that finding a dominating .git directory is the right approach (it seems to be what vc-mode does) instead of using git rev-parse.