Repair git update macro
This commit is contained in:
parent
fc682920ed
commit
f08c0bc4e0
|
@ -350,7 +350,7 @@ case "${1}" in
|
||||||
;;
|
;;
|
||||||
git)
|
git)
|
||||||
GIT_ARGS="$( printf '"%s" ' "${@:2}" )"
|
GIT_ARGS="$( printf '"%s" ' "${@:2}" )"
|
||||||
[ "$GIT_ARGS" != '"update"' ] || GIT_ARGS="pull --rebase --autostash"
|
[ "$GIT_ARGS" != '"update" ' ] || GIT_ARGS="pull --rebase --autostash"
|
||||||
exec sh -c 'cd user-config && git '"${GIT_ARGS}"'; exit $?'
|
exec sh -c 'cd user-config && git '"${GIT_ARGS}"'; exit $?'
|
||||||
;;
|
;;
|
||||||
_load)
|
_load)
|
||||||
|
|
Loading…
Reference in New Issue