瀏覽代碼

Match authors exactly in the contributors view

main
Eric Amodio 5 年之前
父節點
當前提交
0f4c59102f
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      src/views/nodes/contributorNode.ts

+ 1
- 1
src/views/nodes/contributorNode.ts 查看文件

@ -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…
取消
儲存