mirror of
https://github.com/wfxr/forgit.git
synced 2026-09-10 07:16:23 -04:00
Fix: early out with non-file arguments in checkout file (#456)
This commit is contained in:
parent
7c3aff1142
commit
8285d2e1b0
|
|
@ -841,7 +841,7 @@ _forgit_git_checkout_file() {
|
|||
_forgit_checkout_file() {
|
||||
_forgit_inside_work_tree || return 1
|
||||
local files opts
|
||||
_forgit_contains_non_flags "$@" && { _forgit_git_checkout_file -- "$@"; return $?; }
|
||||
_forgit_contains_non_flags "$@" && { _forgit_git_checkout_file "$@"; return $?; }
|
||||
opts="
|
||||
$FORGIT_FZF_DEFAULT_OPTS
|
||||
-m -0
|
||||
|
|
|
|||
Loading…
Reference in a new issue