simplification

This commit is contained in:
David Refoua
2025-11-08 23:52:45 +03:30
committed by GitHub
parent 9b64482f37
commit 60045d8c4f

View File

@@ -196,7 +196,6 @@ function Get-GitStatusSetting {
# Check if git status display is disabled via config # Check if git status display is disabled via config
# Matches: cmder.status=false or cmder.psstatus=false (PowerShell-specific) # Matches: cmder.status=false or cmder.psstatus=false (PowerShell-specific)
# Anchored to match complete lines only to avoid false positives
if ($gitConfig -match '(?m)^cmder\.(ps)?status=false$') { if ($gitConfig -match '(?m)^cmder\.(ps)?status=false$') {
return $false return $false
} }