Ver código fonte

Match authors exactly in the contributors view

main
Eric Amodio 5 anos atrás
pai
commit
0f4c59102f
1 arquivos alterados com 1 adições e 1 exclusões
  1. +1
    -1
      src/views/nodes/contributorNode.ts

+ 1
- 1
src/views/nodes/contributorNode.ts Ver arquivo

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

Carregando…
Cancelar
Salvar