Repository navigation
Commit 6678a55
fix(remote): require an exact reference for a push source
A describe expression derived from a tag named `refs/releases/base`
starts with `refs/`. `Reference.from_path()` accepts that prefix,
so a successful push returned a reference that did not exist and
discarded the pushed commit's ID.
Use the shared exact-reference lookup before setting `local_ref`.
A regression pushes the describe expression and verifies the
destination and reported commit IDs on both backends.
Agent-Model: unknown1 parent 996a6eb commit 6678a55
2 files changed
Lines changed: 18 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
246 | 246 | | |
247 | 247 | | |
248 | 248 | | |
249 | | - | |
| 249 | + | |
| 250 | + | |
250 | 251 | | |
251 | 252 | | |
| 253 | + | |
| 254 | + | |
252 | 255 | | |
253 | 256 | | |
254 | 257 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
580 | 580 | | |
581 | 581 | | |
582 | 582 | | |
| 583 | + | |
| 584 | + | |
| 585 | + | |
| 586 | + | |
| 587 | + | |
| 588 | + | |
| 589 | + | |
| 590 | + | |
| 591 | + | |
| 592 | + | |
| 593 | + | |
| 594 | + | |
| 595 | + | |
| 596 | + | |
583 | 597 | | |
584 | 598 | | |
585 | 599 | | |
| |||
0 commit comments