summaryrefslogtreecommitdiffstats
path: root/pkg/commands/git_commands/worktree_loader.go
diff options
context:
space:
mode:
Diffstat (limited to 'pkg/commands/git_commands/worktree_loader.go')
-rw-r--r--pkg/commands/git_commands/worktree_loader.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/pkg/commands/git_commands/worktree_loader.go b/pkg/commands/git_commands/worktree_loader.go
index 687e9680a..0d5f01e34 100644
--- a/pkg/commands/git_commands/worktree_loader.go
+++ b/pkg/commands/git_commands/worktree_loader.go
@@ -58,7 +58,7 @@ func (self *WorktreeLoader) GetWorktrees() ([]*models.Worktree, error) {
isPathMissing := self.pathExists(path)
var gitDir string
- gitDir, err := worktreeGitDirPath(self.Fs, path)
+ gitDir, err := getWorktreeGitDirPath(self.Fs, path)
if err != nil {
self.Log.Warnf("Could not find git dir for worktree %s: %v", path, err)
}