dotcloud/docker — pull request #4043 by tianon (2014-02-10 20:50:45+00:00)
Title: Add better ".git" detection and use

This way, packagers can set GIT_DIR appropriately if they'd prefer to not have ".git" inside their working directory.