mirror of
https://github.com/wfxr/forgit.git
synced 2026-09-10 15:26:16 -04:00
Refactor: Quote $_forgit_preview_context in _forgit_diff
This commit is contained in:
parent
0a8a70bc20
commit
25f58659de
|
|
@ -263,7 +263,7 @@ _forgit_diff() {
|
|||
opts="
|
||||
$FORGIT_FZF_DEFAULT_OPTS
|
||||
+m -0 --bind=\"enter:execute($FORGIT diff_enter {} $escaped_commits | $_forgit_enter_pager)\"
|
||||
--preview=\"$FORGIT diff_view {} $_forgit_preview_context $escaped_commits\"
|
||||
--preview=\"$FORGIT diff_view {} \"$_forgit_preview_context\" $escaped_commits\"
|
||||
--bind=\"alt-e:execute-silent($FORGIT edit_diffed_file {})+refresh-preview\"
|
||||
$FORGIT_DIFF_FZF_OPTS
|
||||
--prompt=\"${commits[*]} > \"
|
||||
|
|
|
|||
Loading…
Reference in a new issue