mirror of
https://github.com/pyenv/pyenv-update.git
synced 2026-02-05 18:47:36 +09:00
Merge pull request #2 from jawshooah/patch-1
Ensure update is a fast-forward merge
This commit is contained in:
commit
c468d9f4b2
@ -43,7 +43,7 @@ verify_repo() {
|
|||||||
update_repo() {
|
update_repo() {
|
||||||
info "Updating $1..."
|
info "Updating $1..."
|
||||||
verify_repo "$1" &&
|
verify_repo "$1" &&
|
||||||
( cd "${repo}" && git pull "${REMOTE}" "${BRANCH}" )
|
( cd "${repo}" && git pull --no-rebase --ff "${REMOTE}" "${BRANCH}" )
|
||||||
}
|
}
|
||||||
|
|
||||||
info() {
|
info() {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user