diff --git a/src/views/nodes/branchNode.ts b/src/views/nodes/branchNode.ts index e4fd105..c596274 100644 --- a/src/views/nodes/branchNode.ts +++ b/src/views/nodes/branchNode.ts @@ -123,7 +123,7 @@ export class BranchNode (this.branch.tracking || this.branch.remote) ? this.branch.getAssociatedPullRequest(this.root ? { include: [PullRequestState.Open] } : undefined) : undefined, - range + range && !this.branch.remote ? Container.git.getLogRefsOnly(this.uri.repoPath!, { limit: 0, ref: range,