Merge pull request #835 from gpakosz/git-prompt-submodules

Fixed checkGit() in case of submodules
This commit is contained in:
Martin Kemp 2016-02-10 15:42:40 +00:00
commit 9ace64f6dc

2
vendor/profile.ps1 vendored
View File

@ -53,7 +53,7 @@ try {
} }
function checkGit($Path) { function checkGit($Path) {
if (Test-Path -Path (Join-Path $Path '.git/') ) { if (Test-Path -Path (Join-Path $Path '.git') ) {
Write-VcsStatus Write-VcsStatus
return return
} }