github GitoxideLabs/gitoxide git-refspec-v0.3.1
git-refspec v0.3.1

24 months ago

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 in RefSpecRef::prefix() and expanded_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

Commit Details

view details
  • #450
    • improve docs for Instruction (911f68f)
    • HEAD may now return itself as prefix in RefSpecRef::prefix() and expanded_prefix(). (d53ddcd)
    • fix docs (9d0f31e)
    • add RefSpecRef::expand_prefix() method to avoid missing prefixes. (21b21b6)
  • #571
    • refactor (ef7467c)
    • assure sub-branches can be matched correctly (c9383c6)
  • Uncategorized
    • prepare changelogs prior to release (423af90)
    • Merge branch 'main' into write-sparse-index (c4e6849)
    • Merge branch 'gix-clone' (def53b3)
    • Merge branch 'main' into gix-clone (91bf67a)
    • Merge branch 'fix-571' (2514334)

Don't miss a new gitoxide release

NewReleases is sending notifications on new releases.