diff options
| author | Mike Vink <mike.vink@stater.nl> | 2023-04-28 10:22:09 +0200 |
|---|---|---|
| committer | Mike Vink <mike.vink@stater.nl> | 2023-04-28 10:22:09 +0200 |
| commit | 16237338816e8a25a73ed461cf14e9fdd0f8f3b3 (patch) | |
| tree | a2dfc2adaedff7d244019fdd0b5e85ac01849f3c /fnl | |
| parent | c8b43e3298711a13751252651def75f646411860 (diff) | |
force branch and tree name to be the same
Diffstat (limited to 'fnl')
| -rw-r--r-- | fnl/conf/init.fnl | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/fnl/conf/init.fnl b/fnl/conf/init.fnl index d59b6ae..1169dca 100644 --- a/fnl/conf/init.fnl +++ b/fnl/conf/init.fnl @@ -47,9 +47,9 @@ (vim.api.nvim_create_user_command :Worktree (fn [ctx] (match ctx.fargs - [:create tree branch upstream] (git-worktree.create_worktree tree - branch - upstream) + [:create tree upstream] (git-worktree.create_worktree tree + tree + upstream) [:switch tree] (git-worktree.switch_worktree tree) [:delete tree] (git-worktree.delete_worktree tree))) {:nargs "*" |
