Parcourir la source

Fixes #2355 search by commit changes

main
Eric Amodio il y a 1 an
Parent
révision
41f885f7d1
2 fichiers modifiés avec 2 ajouts et 4 suppressions
  1. +1
    -0
      CHANGELOG.md
  2. +1
    -4
      src/git/search.ts

+ 1
- 0
CHANGELOG.md Voir le fichier

@ -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 Voir le fichier

@ -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;

Chargement…
Annuler
Enregistrer