Przeglądaj źródła

Match authors exactly in the contributors view

main
Eric Amodio 5 lat temu
rodzic
commit
0f4c59102f
1 zmienionych plików z 1 dodań i 1 usunięć
  1. +1
    -1
      src/views/nodes/contributorNode.ts

+ 1
- 1
src/views/nodes/contributorNode.ts Wyświetl plik

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

Ładowanie…
Anuluj
Zapisz