mirror of
https://github.com/cmderdev/cmder.git
synced 2024-11-10 17:59:11 +08:00
Merge pull request #835 from gpakosz/git-prompt-submodules
Fixed checkGit() in case of submodules
This commit is contained in:
commit
9ace64f6dc
2
vendor/profile.ps1
vendored
2
vendor/profile.ps1
vendored
@ -53,7 +53,7 @@ try {
|
||||
}
|
||||
|
||||
function checkGit($Path) {
|
||||
if (Test-Path -Path (Join-Path $Path '.git/') ) {
|
||||
if (Test-Path -Path (Join-Path $Path '.git') ) {
|
||||
Write-VcsStatus
|
||||
return
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user