cosmin/git-hg — pull request #29 by barak (2012-07-12 12:13:24+00:00)
Title: Use approved git plumbing to locate git directory, instead of just .git/

This is a particular problem with git submodules, which now by default have plain .git files holding text that says where the real git directory lives.