diff options
| author | Kenjiro Nakayama <nakayamakenjiro@gmail.com> | 2026-02-20 13:56:58 +0900 |
|---|---|---|
| committer | Kenjiro Nakayama <nakayamakenjiro@gmail.com> | 2026-02-20 13:56:58 +0900 |
| commit | 43a1f7c7e6578bc38d130b235d75916e5e58f335 (patch) | |
| tree | d1b304e231d73e97be55d05719bcd14a878ac0d3 /.github | |
| parent | 2fa8b0da90a99d04ec9d12b932a824056bd321d3 (diff) | |
| download | portable-43a1f7c7e6578bc38d130b235d75916e5e58f335.tar.gz portable-43a1f7c7e6578bc38d130b235d75916e5e58f335.tar.bz2 portable-43a1f7c7e6578bc38d130b235d75916e5e58f335.zip | |
Fix remote branch fetching and revision lookup in update.sh
This patch changes to:
- add `--no-single-branch` to git clone to ensure all remote branches
are tracked, allowing the script to switch between OpenBSD versions.
- use origin/ prefix for $openbsd_branch to fix revision lookup
At initial setup, the branch only exists as a "remote-tracking"
reference. Since a local branch hasn't been created yet, git cannot
find it by name alone. Adding the origin/ prefix explicitly tells
git to look into the remote data we just fetched.
This ensures the script can correctly identify the commit hash based
on the release timestamp even on a fresh shallow clone.
Fix https://github.com/libressl/portable/issues/1233
Diffstat (limited to '.github')
0 files changed, 0 insertions, 0 deletions
