github GitoxideLabs/gitoxide gix-command-v0.5.0
gix-command v0.5.0

one day ago

New Features

  • Use gix_path::env::shell() in gix-command for sh
  • add Preprae::with_quoted_command()
    That way it's possible to execute shell commands with spaces in their paths, for example.

Other

  • Revise and somewhat expand Prepare docs
    This revises the gix_command::Prepare documentation, mainly for
    clarity but also to add some information and cover or explain some
    cases that were not (or not as fully) covered before.

    This builds on recent documentation changes, such as those in #1800.

    Less importantly, this also:

    • Wraps Prepare documentation comments to a more consistent
      width, when doing so improved unrendered readability.

    • Made a trace message more precise, to avoid obscuring a subtlety
      about the distinction between what we are looking for and what we
      are adding, since that might occasionally relate to the reason
      someone is examining trace messages.

Bug Fixes (BREAKING)

  • rename with_shell() to command_may_be_shell_script(), add with_shell() to enforce using a shell.
    That way it's clear the shell will only be used if the command
    actually is a shell script.

    This also renames with_shell_* variants to command_may_be_shell_script_* variants, without
    a respective with_shell_* alternative.

Commit Statistics

  • 17 commits contributed to the release.
  • 4 commits were understood as conventional.
  • 1 unique issue was worked on: #1799

Commit Details

view details
  • #1799
    • Add Preprae::with_quoted_command() (435984b)
  • Uncategorized
    • Update changelogs prior to release (38dff41)
    • Merge pull request #1907 from EliahKagan/run-ci/raw (7b17da6)
    • Use raw literals for more strings with backslashes (01bd76d)
    • Merge pull request #1862 from EliahKagan/run-ci/consistent-sh (0ba3147)
    • Use gix_path::env::shell() in gix-command for sh (c7d06a6)
    • Merge pull request #1845 from EliahKagan/shell-tests-windows (2efce72)
    • Test environment_variables_are_passed_one_by_one on Windows (4fc1092)
    • Fix and enable disallow_shell test on Windows (0e451d0)
    • Merge pull request #1813 from EliahKagan/prepare-doc (38a0d9a)
    • Revise and somewhat expand Prepare docs (4e7306e)
    • Merge pull request #1810 from bryceberger/bryce/push-oqkslowuuqyz (10937b0)
    • Fix hardcoded path test on nixos (b085899)
    • Merge pull request #1801 from GitoxideLabs/improvements (02efddd)
    • Merge pull request #1800 from GitoxideLabs/improvements (cc7b614)
    • Rename with_shell() to command_may_be_shell_script(), add with_shell() to enforce using a shell. (667de43)
    • Merge pull request #1778 from GitoxideLabs/new-release (8df0db2)

Don't miss a new gitoxide release

NewReleases is sending notifications on new releases.