From 7df73096d6a2a6b6674d5455af6331e62548ce81 Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Sat, 8 Nov 2025 18:38:59 +0000 Subject: [PATCH] Fix regex to match whole lines only in Get-GitStatusSetting Co-authored-by: DRSDavidSoft <4673812+DRSDavidSoft@users.noreply.github.com> --- vendor/psmodules/Cmder.ps1 | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/psmodules/Cmder.ps1 b/vendor/psmodules/Cmder.ps1 index fb703a5..548c324 100644 --- a/vendor/psmodules/Cmder.ps1 +++ b/vendor/psmodules/Cmder.ps1 @@ -190,7 +190,7 @@ function Show-GitStatus { function Get-GitStatusSetting { $gitConfig = git --no-pager config -l 2>$null | Out-String - if ($gitConfig -match 'cmder\.(ps)?status=false') { + if ($gitConfig -match '(?m)^cmder\.(ps)?status=false') { return $false }