Skip to content

Commit 79e4dfb

Browse files
committed
Renames getBranchesAndTagsTipsFn
1 parent ec4277e commit 79e4dfb

File tree

11 files changed

+11
-11
lines changed

11 files changed

+11
-11
lines changed

src/annotations/gutterBlameAnnotationProvider.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -71,7 +71,7 @@ export class GutterBlameAnnotationProvider extends BlameAnnotationProviderBase {
7171

7272
let getBranchAndTagTips;
7373
if (CommitFormatter.has(cfg.format, 'tips')) {
74-
getBranchAndTagTips = await this.container.git.getBranchesAndTagsTipsFn(blame.repoPath);
74+
getBranchAndTagTips = await this.container.git.getBranchesAndTagsTipsLookup(blame.repoPath);
7575
}
7676

7777
const options: CommitFormatOptions = {

src/annotations/lineAnnotationController.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -288,7 +288,7 @@ export class LineAnnotationController implements Disposable {
288288
const cancellation = this._cancellation.token;
289289

290290
const getBranchAndTagTipsPromise = CommitFormatter.has(cfg.format, 'tips')
291-
? this.container.git.getBranchesAndTagsTipsFn(repoPath)
291+
? this.container.git.getBranchesAndTagsTipsLookup(repoPath)
292292
: undefined;
293293

294294
async function updateDecorations(

src/git/gitProviderService.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1716,7 +1716,7 @@ export class GitProviderService implements Disposable {
17161716
}
17171717

17181718
@log()
1719-
async getBranchesAndTagsTipsFn(
1719+
async getBranchesAndTagsTipsLookup(
17201720
repoPath: string | Uri | undefined,
17211721
suppressName?: string,
17221722
): Promise<

src/statusbar/statusBarController.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -343,7 +343,7 @@ export class StatusBarController implements Disposable {
343343
const defaultDateFormat = configuration.get('defaultDateFormat');
344344
const getBranchAndTagTipsPromise =
345345
CommitFormatter.has(cfg.format, 'tips') || CommitFormatter.has(cfg.tooltipFormat, 'tips')
346-
? this.container.git.getBranchesAndTagsTipsFn(commit.repoPath)
346+
? this.container.git.getBranchesAndTagsTipsLookup(commit.repoPath)
347347
: undefined;
348348

349349
const showPullRequests =

src/views/nodes/branchNode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -232,7 +232,7 @@ export class BranchNode
232232
targetResult,
233233
] = await Promise.allSettled([
234234
this.getLog(),
235-
this.view.container.git.getBranchesAndTagsTipsFn(this.uri.repoPath, branch.name),
235+
this.view.container.git.getBranchesAndTagsTipsLookup(this.uri.repoPath, branch.name),
236236
this.options.showStatus && branch.current
237237
? this.view.container.git.getStatus(this.uri.repoPath)
238238
: undefined,

src/views/nodes/contributorNode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ export class ContributorNode extends ViewNode<'contributor', ViewsWithContributo
6565
const log = await this.getLog();
6666
if (log == null) return [new MessageNode(this.view, this, 'No commits could be found.')];
6767

68-
const getBranchAndTagTips = await this.view.container.git.getBranchesAndTagsTipsFn(this.uri.repoPath);
68+
const getBranchAndTagTips = await this.view.container.git.getBranchesAndTagsTipsLookup(this.uri.repoPath);
6969
const children = [
7070
...insertDateMarkers(
7171
map(

src/views/nodes/fileHistoryNode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ export class FileHistoryNode
7070
? this.view.container.git.getStatusForFiles(this.uri.repoPath, this.getPathOrGlob())
7171
: undefined,
7272
this.uri.sha == null ? this.view.container.git.getCurrentUser(this.uri.repoPath) : undefined,
73-
this.view.container.git.getBranchesAndTagsTipsFn(this.uri.repoPath, this.branch?.name),
73+
this.view.container.git.getBranchesAndTagsTipsLookup(this.uri.repoPath, this.branch?.name),
7474
range
7575
? this.view.container.git.getLogRefsOnly(this.uri.repoPath, {
7676
limit: 0,

src/views/nodes/lineHistoryNode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -80,7 +80,7 @@ export class LineHistoryNode
8080
? await this.view.container.git.getBlameForRangeContents(this.uri, selection, this.editorContents)
8181
: await this.view.container.git.getBlameForRange(this.uri, selection)
8282
: undefined,
83-
this.view.container.git.getBranchesAndTagsTipsFn(this.uri.repoPath, this.branch?.name),
83+
this.view.container.git.getBranchesAndTagsTipsLookup(this.uri.repoPath, this.branch?.name),
8484
range
8585
? this.view.container.git.getLogRefsOnly(this.uri.repoPath, {
8686
limit: 0,

src/views/nodes/resultsCommitsNode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -94,7 +94,7 @@ export class ResultsCommitsNode<View extends ViewsWithCommits = ViewsWithCommits
9494
}
9595

9696
const [getBranchAndTagTips] = await Promise.all([
97-
this.view.container.git.getBranchesAndTagsTipsFn(this.uri.repoPath),
97+
this.view.container.git.getBranchesAndTagsTipsLookup(this.uri.repoPath),
9898
]);
9999

100100
const children: ViewNode[] = [];

src/views/nodes/tagNode.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export class TagNode extends ViewRefNode<'tag', ViewsWithTags, GitTagReference>
5454
const log = await this.getLog();
5555
if (log == null) return [new MessageNode(this.view, this, 'No commits could be found.')];
5656

57-
const getBranchAndTagTips = await this.view.container.git.getBranchesAndTagsTipsFn(
57+
const getBranchAndTagTips = await this.view.container.git.getBranchesAndTagsTipsLookup(
5858
this.uri.repoPath,
5959
this.tag.name,
6060
);

0 commit comments

Comments
 (0)