Skip to content

Commit 9b64482

Browse files
authored
add the same message from lib_git.cmd in PS1 script
1 parent bc970e7 commit 9b64482

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

vendor/psmodules/Cmder.ps1

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,10 @@ function Get-GitVersion {
1616
return $Matches[1]
1717
}
1818

19+
Write-Debug "Git executable path: $gitExecutable"
20+
Write-Error "'git --version' returned an improper version string!"
21+
Write-Error "Unable to determine Git version from output: $gitVersion"
22+
1923
return $null
2024
}
2125

0 commit comments

Comments
 (0)