djl/vcprompt — pull request #19 by pjv (2012-02-16 19:56:19+00:00)
Title: modify @vcs wrapper to allow 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.