mirror of
https://github.com/pyenv/pyenv-update.git
synced 2025-11-11 04:53:47 -05:00
Ensure update is a fast-forward
This commit is contained in:
@@ -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() {
|
||||||
|
|||||||
Reference in New Issue
Block a user