github GitoxideLabs/gitoxide v0.57.0

53 minutes ago

New Features

  • support cloning a single revision

    A full object ID passed through with_ref_name() produced an object-ID refspec
    mapping and panicked while clone assumed every mapping had a name. Branch and
    tag checkout also retained ordinary clone tracking semantics instead of offering
    a single-revision mode.

    Add PrepareFetch::with_revision() and gix clone --revision for full refs, HEAD,
    and full object IDs. Revision clones use a one source-only implicit refspec,
    detach HEAD to the fetched commit, create no ordinary refs, persist no fetch
    refspec, and disable tag following. Existing with_ref_name() and --ref behavior
    stays unchanged.

    This follows Git commit 337855629f59 (builtin/clone: teach git-clone(1) the
    --revision= option) and its t/t5621-clone-revision.sh behavior.

Commit Statistics

  • 7 commits contributed to the release over the course of 30 calendar days.
  • 30 days passed between releases.
  • 1 commit was understood as conventional.
  • 1 unique issue was worked on: #1930

Commit Details

view details
  • #1930
    • Support cloning a single revision (b1174b6)
  • Uncategorized
    • Merge pull request #2910 from codeAnqiang-ma/fix/relative-date-month-rollover (566fea1)
    • Adapt to changes in gix-date (613ff86)
    • Merge pull request #2824 from GitoxideLabs/fetch-revision (7a34c17)
    • Merge pull request #2879 from GitoxideLabs/remove-jwalk (b6492d3)
    • Replace jwalk with dua-core (c49dc45)
    • Merge pull request #2812 from GitoxideLabs/report-july (ae8845a)

Don't miss a new gitoxide release

NewReleases is sending notifications on new releases.