mirror of
https://github.com/ohmyzsh/ohmyzsh.git
synced 2024-11-21 21:30:09 +00:00
updater: fix --autostash argument. Works for git > 1.7.1
See https://github.com/ohmyzsh/ohmyzsh/pull/7172#issuecomment-592875226
This commit is contained in:
parent
1689e9bb90
commit
14b4f62e65
1 changed files with 1 additions and 1 deletions
|
@ -38,7 +38,7 @@ if [ -n "$remote" ]; then
|
|||
fi
|
||||
|
||||
printf "${BLUE}%s${NORMAL}\n" "Updating Oh My Zsh"
|
||||
if git pull --rebase --autostash --stat origin master
|
||||
if git -c rebase.autoStash=true pull --rebase --stat origin master
|
||||
then
|
||||
printf '%s' "$GREEN"
|
||||
printf '%s\n' ' __ __ '
|
||||
|
|
Loading…
Reference in a new issue