diff --git a/src/views/branchHistoryNode.ts b/src/views/branchHistoryNode.ts index c760751..310e249 100644 --- a/src/views/branchHistoryNode.ts +++ b/src/views/branchHistoryNode.ts @@ -15,7 +15,7 @@ export class BranchHistoryNode extends ExplorerNode { } async getChildren(): Promise { - const log = await this.git.getLogForRepo(this.uri.repoPath!, this.branch.name); + const log = await this.git.getLogForRepo(this.uri.repoPath!, this.branch.name, 0); if (log === undefined) return []; return [...Iterables.map(log.commits.values(), c => new CommitNode(c, this.template, this.context, this.git))]; diff --git a/src/views/statusUpstreamNode.ts b/src/views/statusUpstreamNode.ts index 64d86c5..3925e67 100644 --- a/src/views/statusUpstreamNode.ts +++ b/src/views/statusUpstreamNode.ts @@ -17,7 +17,7 @@ export class StatusUpstreamNode extends ExplorerNode { const range = this.direction === 'ahead' ? `${this.status.upstream}..${this.status.branch}` : `${this.status.branch}..${this.status.upstream}`; - let log = await this.git.getLogForRepo(this.uri.repoPath!, range); + let log = await this.git.getLogForRepo(this.uri.repoPath!, range, 0); if (log === undefined) return []; if (this.direction !== 'ahead') return [...Iterables.map(log.commits.values(), c => new CommitNode(c, this.template, this.context, this.git))];