Skip to content

Stacked Git 2.0.0-alpha.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@jpgrayson jpgrayson released this 08 Jul 00:18
· 923 commits to master since this release
v2.0.0-alpha.2
7b3c65e

This is the second alpha release of StGit 2.0, the Rust reimplementation of StGit.

This release introduces the stg email format and stg email send commands, which replace the functionality of the removed stg mail command from StGit 1.x. Other changes include repaired compatibility with older versions of git and various repairs and improvements to shell completions.

Added

  • stg email format wraps git format-patch and provides a mechanism to generate patch emails and optional cover letter in mbox format.
  • stg email send wraps git send-email and allows sending patch emails, either from files generated by stg email format or by specifying patches directly.

Changed

  • Bash completions for shell aliases now fallback to filename completions (#191).
  • Help options listings now ensure --color and --help are shown last.
  • Various zsh completion improvments:
    • Add descriptions for --color values
    • Complete -O/--diff-opts values (using git diff-tree --git-completion-helper)
    • Comprehend stg -C <dir> options
    • Improved/corrected alias expansion
    • Improved error messages when completion is attempted outside git repo and/or StGit-initialized branch
    • Patch name completions now look and feel like output from stg series
    • Complete patch range syntax ('patch0..patchN') for all relevant commands
    • Completion for stg squash no longer allows duplicate patch name arguments
    • Removed completions for removed stg mail command
    • Completion for stg sink no longer offers hidden patches
    • Completion for stg rename comprehends second, new patch name argument
    • Completion for stg diff --range now works

Fixed

  • Compatibility with git versions prior to 2.35.0 is repaired by avoiding using git apply --allow-empty (#192).
  • Fish completions for -O/--diff-opts are repaired