Commit b760721
fix: add trailing slash to tag ref prefix in Git._clone (#10799)
The tag import prefix was b"refs/tags" (no trailing slash), so
stripping it from e.g. b"refs/tags/v1.0" produced b"/v1.0" instead
of b"v1.0", creating malformed local refs.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent ead674b commit b760721
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
373 | 373 | | |
374 | 374 | | |
375 | 375 | | |
376 | | - | |
| 376 | + | |
377 | 377 | | |
378 | 378 | | |
379 | 379 | | |
| |||
0 commit comments