mirror of
https://github.com/wfxr/forgit.git
synced 2026-09-10 15:26:16 -04:00
Fix infinite loop when passing invalid arguments to gsp
This commit is contained in:
parent
c78c10a028
commit
70e300179d
|
|
@ -249,7 +249,7 @@ _forgit_stash_push() {
|
|||
# ignore -u as it's used implicitly
|
||||
-u|--include-untracked) shift ;;
|
||||
# pass to git directly when encountering anything else
|
||||
*) $git_stash_push "${args[@]}" && return $?
|
||||
*) $git_stash_push "${args[@]}"; return $?
|
||||
esac
|
||||
done
|
||||
local opts preview files
|
||||
|
|
|
|||
Loading…
Reference in a new issue