Removes history limit for custom view

This commit is contained in:
Eric Amodio
2017-09-11 00:41:32 -04:00
parent a2dc65c044
commit 4221e06ae3
2 changed files with 2 additions and 2 deletions

View File

@@ -15,7 +15,7 @@ export class BranchHistoryNode extends ExplorerNode {
}
async getChildren(): Promise<ExplorerNode[]> {
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))];