djl/vcprompt — pull request #20 by pjv (2012-02-16 20:42:53+00:00)
Title: modify git to allow vcprompt to function in git subrepositories

in a git subrepo, there is no .git directory. instead there is a file called .git which has text in it that points to the subrepo's git directory that lives inside the .git directory of the parent repo. this modification tests whether the .git in a repo is a file and if so, parses the contents of the file to find the git repo and sets function.file to that correct directory.