-
-
Notifications
You must be signed in to change notification settings - Fork 382
Closed
Labels
acknowledgedan issue is accepted as shortcoming to be fixedan issue is accepted as shortcoming to be fixedhelp wantedExtra attention is neededExtra attention is needed
Description
Current behavior 😯
Some refs reported by repo.references()?.prefixed(...)
are outside the prefix scope. The refs that are reported are loose refs which are not present in .git/packed-refs
.
This has been tested with gix=0.71.0
and overriding with gix-features=0.41.1
.
Relates to #1928 with the PR #1931.
Expected behavior 🤔
Only refs that starts with the prefix are reported.
Git behavior
No response
Steps to reproduce 🕹
Create .git/refs/heads/foo/bar
. That ref will be listed with repo.references()?.prefixed("refs/heads/b")
.
Metadata
Metadata
Assignees
Labels
acknowledgedan issue is accepted as shortcoming to be fixedan issue is accepted as shortcoming to be fixedhelp wantedExtra attention is neededExtra attention is needed