Skip to content

Commit 4221e06

Browse files
committed
Removes history limit for custom view
1 parent a2dc65c commit 4221e06

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/views/branchHistoryNode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ export class BranchHistoryNode extends ExplorerNode {
1515
}
1616

1717
async getChildren(): Promise<ExplorerNode[]> {
18-
const log = await this.git.getLogForRepo(this.uri.repoPath!, this.branch.name);
18+
const log = await this.git.getLogForRepo(this.uri.repoPath!, this.branch.name, 0);
1919
if (log === undefined) return [];
2020

2121
return [...Iterables.map(log.commits.values(), c => new CommitNode(c, this.template, this.context, this.git))];

src/views/statusUpstreamNode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ export class StatusUpstreamNode extends ExplorerNode {
1717
const range = this.direction === 'ahead'
1818
? `${this.status.upstream}..${this.status.branch}`
1919
: `${this.status.branch}..${this.status.upstream}`;
20-
let log = await this.git.getLogForRepo(this.uri.repoPath!, range);
20+
let log = await this.git.getLogForRepo(this.uri.repoPath!, range, 0);
2121
if (log === undefined) return [];
2222

2323
if (this.direction !== 'ahead') return [...Iterables.map(log.commits.values(), c => new CommitNode(c, this.template, this.context, this.git))];

0 commit comments

Comments
 (0)