New Features
-
add
RefSpecRef::expand_prefix()
method to avoid missing prefixes.
The current implementation might cause refspecs to end up ignored as
they don't have a prefix, and in protocol V2 it would then fail
to add a ref-spec filter which causes them to be missed.With
expand_prefix()
, we assure that there are all possible prefixes
that can contain partial names, similar to what git does.
Bug Fixes
HEAD
may now return itself as prefix inRefSpecRef::prefix()
andexpanded_prefix()
.
Previously, the expanded prefix would be a list of possibilities, even
though it's such a common case that we really want to avoid spamming the
remote about it when asking for HEAD during clone for instance.
Commit Statistics
- 11 commits contributed to the release over the course of 24 calendar days.
- 27 days passed between releases.
- 2 commits were understood as conventional.
- 2 unique issues were worked on: #450, #571