mirror of
https://github.com/ivabus/pantry
synced 2024-11-22 08:25:07 +03:00
fix(git)
this prevents our shim from calling pkgx for `git -C . status`, blowing up prompt responsiveness. ref: https://github.com/pkgxdev/pkgx/issues/784
This commit is contained in:
parent
9439495304
commit
fc48863ecf
1 changed files with 5 additions and 0 deletions
|
@ -4,7 +4,12 @@ set -e
|
|||
|
||||
find_git_command() {
|
||||
for arg in "$@"; do
|
||||
if test "$SKIP" = 1; then
|
||||
SKIP=0
|
||||
continue
|
||||
fi
|
||||
case $arg in
|
||||
-C) SKIP=1; continue;;
|
||||
-*);;
|
||||
*)
|
||||
echo "$arg"
|
||||
|
|
Loading…
Reference in a new issue