Repository navigation
Commit 056d90a
fix(remote): split push status refspecs at the final colon
Git prints the complete source expression in porcelain output. A
tree-path expression such as `HEAD:file.txt` includes a colon of its
own. Splitting on every colon made GitPython discard the status even
though Git had created the destination tag.
Split only at the final colon so revision lookup receives the full
source expression. Test the result and the tag's object ID on the CLI
and Gix backends.
Agent-Model: unknown1 parent c8aa12f commit 056d90a
2 files changed
Lines changed: 12 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
236 | 236 | | |
237 | 237 | | |
238 | 238 | | |
239 | | - | |
| 239 | + | |
240 | 240 | | |
241 | 241 | | |
242 | 242 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
554 | 554 | | |
555 | 555 | | |
556 | 556 | | |
| 557 | + | |
| 558 | + | |
| 559 | + | |
| 560 | + | |
| 561 | + | |
| 562 | + | |
| 563 | + | |
| 564 | + | |
| 565 | + | |
| 566 | + | |
| 567 | + | |
557 | 568 | | |
558 | 569 | | |
559 | 570 | | |
| |||
0 commit comments