Skip to content

Commit 3df2979

Browse files
authored
Merge branch 'ThePrimeagen:master' into master
2 parents 60899c0 + f247308 commit 3df2979

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ require("git-worktree").setup({
101101

102102
Three primary functions should cover your day-to-day.
103103

104-
The path can be either relative from the git root dir or absoulut path to the worktree.
104+
The path can be either relative from the git root dir or absolute path to the worktree.
105105

106106
```lua
107107
-- Creates a worktree. Requires the path, branch name, and the upstream
@@ -141,7 +141,7 @@ To bring up the telescope window to create a new worktree run the following
141141
```lua
142142
:lua require('telescope').extensions.git_worktree.create_git_worktree()
143143
```
144-
First a telescope git branch window will appear. Presing enter will choose the selected branch for the branch name. If no branch is selected, then the prompt will be used as the branch name.
144+
First a telescope git branch window will appear. Pressing enter will choose the selected branch for the branch name. If no branch is selected, then the prompt will be used as the branch name.
145145

146146
After the git branch window, a prompt will be presented to enter the path name to write the worktree to.
147147

lua/telescope/_extensions/git_worktree.lua

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -238,6 +238,7 @@ end
238238
return require("telescope").register_extension(
239239
{
240240
exports = {
241+
git_worktree = telescope_git_worktree,
241242
git_worktrees = telescope_git_worktree,
242243
create_git_worktree = create_worktree
243244
}

0 commit comments

Comments
 (0)