diff --git a/CHANGELOG.md b/CHANGELOG.md index b7783c3..2c84672 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -49,6 +49,7 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p ### Fixed +- Fixes [#2355](https://github.com/gitkraken/vscode-gitlens/issues/2355) - Search by changes stops working in version 13.x.x - Fixes [#2473](https://github.com/gitkraken/vscode-gitlens/issues/2473) - Commit graph status bar show wrong last fetched date - Fixes [#2409](https://github.com/gitkraken/vscode-gitlens/issues/2409) - Commit Graph Show Current Branch Only shows unrelated commits from other branches - Fixes an issue where pinning not being respected in Commit Details view diff --git a/src/git/search.ts b/src/git/search.ts index 55a0d50..55d6494 100644 --- a/src/git/search.ts +++ b/src/git/search.ts @@ -226,11 +226,8 @@ export function getGitArgsFromSearchQuery( if (value.startsWith('"')) { value = value.replace(doubleQuoteRegex, ''); if (!value) continue; - - searchArgs.add(search.matchRegex ? `-G${value}` : `-S${value}`); - } else { - searchArgs.add(search.matchRegex ? `-G"${value}"` : `-S"${value}"`); } + searchArgs.add(search.matchRegex ? `-G${value}` : `-S${value}`); } break;