diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2026-02-26 11:35:00 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2026-02-26 15:26:15 +0000 |
| commit | 237ab4ebcdc5bf58f98958db5375d56baf8046a0 (patch) | |
| tree | d0d2114fbe4b77e2dedcc6191c1622022c8a6695 /.github/workflows/release.yml | |
| parent | 5c305e922e19e4ac65c6a1473be67145a1c73f2b (diff) | |
fix: correct refspec source in ngit sync to strip refs/heads/ prefix
When syncing, the nostr state stores refs with full names like
refs/heads/master and refs/tags/v1.0.0. Git tracking refs strip the
refs/heads/ prefix, so the tracking ref lives at refs/remotes/origin/master
not refs/remotes/origin/refs/heads/master.
The sync code was interpolating the full nostr_ref_name into the source
side of the refspec, producing the invalid double-prefixed path. Strip
refs/heads/ or refs/tags/ before constructing the tracking ref segment,
consistent with how git_remote_nostr/push.rs already handles this.
Diffstat (limited to '.github/workflows/release.yml')
0 files changed, 0 insertions, 0 deletions