Browse Source

Match authors exactly in the contributors view

main
Eric Amodio 5 years ago
parent
commit
0f4c59102f
1 changed files with 1 additions and 1 deletions
  1. +1
    -1
      src/views/nodes/contributorNode.ts

+ 1
- 1
src/views/nodes/contributorNode.ts View File

@ -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.')];

Loading…
Cancel
Save