Parcourir la source

Match authors exactly in the contributors view

main
Eric Amodio il y a 5 ans
Parent
révision
0f4c59102f
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  1. +1
    -1
      src/views/nodes/contributorNode.ts

+ 1
- 1
src/views/nodes/contributorNode.ts Voir le fichier

@ -25,7 +25,7 @@ export class ContributorNode extends ViewNode implements Pagea
async getChildren(): Promise<ViewNode[]> {
const log = await Container.git.getLog(this.uri.repoPath!, {
maxCount: this.maxCount !== undefined ? this.maxCount : this.view.config.defaultItemLimit,
authors: [this.contributor.name]
authors: [`^${this.contributor.name} <${this.contributor.email}>$`]
});
if (log === undefined) return [new MessageNode(this.view, this, 'No commits could be found.')];

Chargement…
Annuler
Enregistrer