Fix "merge: origin - not something we can merge" in recent Git versions

Git 2.13.0 dropped support for the `git merge <msg> HEAD <commit>...` syntax
(b4391657ed)

Closes #29
This commit is contained in:
Ivan Pozdeev 2026-01-10 05:57:11 +03:00
parent 39b088e56c
commit 4c536d76f9
No known key found for this signature in database
GPG Key ID: FB6A628DCF06DCD7

View File

@ -65,7 +65,7 @@ update_repo() {
(
cd "${repo}" && \
git fetch --tags "${REMOTE}" "${BRANCH_CHOICE}" && \
git merge --ff "${REMOTE}" "${BRANCH_CHOICE}"
git merge --ff "${REMOTE}"/"${BRANCH_CHOICE}"
)
}