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.
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.

djl/vcprompt,maverickwoo/vcprompt