mirror of
https://github.com/wfxr/forgit.git
synced 2026-09-10 07:16:23 -04:00
fix: branch preview of worktree_add
This commit is contained in:
parent
64fcce2c0f
commit
e7600bd042
|
|
@ -1596,7 +1596,7 @@ _forgit_worktree_add() {
|
|||
opts="
|
||||
$FORGIT_FZF_DEFAULT_OPTS
|
||||
+s +m --tiebreak=index $header_opt
|
||||
--preview=\"$FORGIT branch_preview {}\"
|
||||
--preview=\"$FORGIT preview branch_preview {}\"
|
||||
$FORGIT_WORKTREE_ADD_FZF_OPTS
|
||||
"
|
||||
branch=$(_forgit_branch_list "${_forgit_worktree_add_branch_git_opts[@]:---all}" |
|
||||
|
|
|
|||
Loading…
Reference in a new issue