Skip to content

v2.37.0

Latest

Choose a tag to compare

@Byron Byron released this 21 Jun 10:37
41a21e6

The hallmark change in this release is support for "precious files", a form
of Git-ignored file that gitoxide doesn't consider expendable.

Chore

  • remove the git Cargo feature
    For simpler code, and nobody needed that anyway. Can be re-introduced
    if that changes.

New Features

  • make cleanup heuristics configurable
    Add cleanup_heuristics configuration option for interactive mode,
    to allow turning it off mainly as it default to 'on'.

  • Allow disabling Git support using the configuration file.
    gitignore Configuration Option

    A new config option, gitignore, now lets users control Git-ignored entry
    detection in interactive mode. It is defined as an optional boolean in the
    config (Option<bool>), and if left unset it defaults to enabled behavior (same
    as previous behavior).

    Usage

    You can control it in your config file as follows:

    gitignore = true
    
    gitignore = false

    Motivation

    This makes Git-ignored behavior configurable without requiring feature flags or
    build-time changes, while preserving existing behavior for users who do not set
    the option.

  • enable precious ignore syntax through Gitoixde
    When opening the Git repository for ignored-entry
    detection, add a config override so precious ignore syntax works out of the box.

    Usage

    preciousFile
    $preciousFile
    disposable

    Now preciousFile won't show up in dua for auto-marking,
    only disposable will.

Commit Statistics

  • 6 commits contributed to the release.
  • 4 days passed between releases.
  • 4 commits were understood as conventional.
  • 0 issues like '(#ID)' were seen in commit messages

Commit Details

view details
  • Uncategorized
    • Prepare changelog prior to release (fbeb7a1)
    • Merge pull request #340 from Byron/precious-support (568eb05)
    • Make cleanup heuristics configurable (b572b96)
    • Allow disabling Git support using the configuration file. (9b96b02)
    • Remove the git Cargo feature (199f16a)
    • Enable precious ignore syntax through gix (be06d77)