github Byron/gitoxide git-path-v0.1.1
git-path v0.1.1

latest releases: gix-object-v0.42.3, gix-actor-v0.31.4, gix-mailmap-v0.23.4...
2 years ago

New Features

  • Add absolutize_components()
    It helps to cleanup paths a little which comes in handy when dealing
    with commondir appended paths.

Other

  • :discover()now returns the shortest path. If and only if it canonicalized the source path. That way, users will still get a familiar path. This is due toparent()not operating in the file system, which otherwise would be equivalent to..`,
    but that's not how we work.

    Maybe we should overhaul the way this works to use ../ instead
    and just 'absoluteize' the path later (std::path::absolute()) is
    on the way for that.

Commit Statistics

  • 10 commits contributed to the release over the course of 19 calendar days.
  • 20 days passed between releases.
  • 2 commits where understood as conventional.
  • 1 unique issue was worked on: #301

Thanks Clippy

Clippy helped 1 time to make code idiomatic.

Commit Details

view details
  • #301
    • update changelogs prior to release (84cb256)
    • absolutize_*(dir) is now absolutize(dir, Option<cwd>) (de87657)
    • More robust absolutize-paths implementation (4800ebe)
    • Allow reading patterns from stdin (0c597fe)
    • Add absolutize_components() (35f146a)
    • :discover()` now returns the shortest path. (e4f4c4b)
    • Basic prefix support as well the first working version of exclude query (9cb8385)
  • Uncategorized

Don't miss a new gitoxide release

NewReleases is sending notifications on new releases.