Closed
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")
.