瀏覽代碼

Fixes #2355 search by commit changes

main
Eric Amodio 1 年之前
父節點
當前提交
41f885f7d1
共有 2 個文件被更改,包括 2 次插入4 次删除
  1. +1
    -0
      CHANGELOG.md
  2. +1
    -4
      src/git/search.ts

+ 1
- 0
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

+ 1
- 4
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;

Loading…
取消
儲存