diff options
| author | DanConwayDev <DanConwayDev@protonmail.com> | 2026-02-26 15:38:51 +0000 |
|---|---|---|
| committer | DanConwayDev <DanConwayDev@protonmail.com> | 2026-02-26 15:38:51 +0000 |
| commit | a2ecfc5a63311570f0f90c7ee40117e289639cb8 (patch) | |
| tree | 0c5208cb7d606be4b431cda813b09dcc64a50e23 /src/git | |
| parent | b13c6d924f7de5ff34405254b8bb21adf33c78c0 (diff) | |
fix: ignore peeled tag entries (^{}) in state event ref parsing
State events (kind 30618) can include refs/tags/<name>^{} entries which
are git's notation for the dereferenced commit behind an annotated tag.
These are not real git refs and are never sent as part of a push.
extract_refs_from_state and RepositoryState::from_event were treating
them as real refs, causing can_satisfy_state to reject valid annotated
tag pushes: the would-be state after the push lacked the spurious ^{}
entry, so the exact-equality check always failed.
Diffstat (limited to 'src/git')
0 files changed, 0 insertions, 0 deletions