mirror of
https://github.com/cmderdev/cmder.git
synced 2025-04-08 18:52:33 +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) {
|
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
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user