Skip to content

0.4.1

Choose a tag to compare

@dotdevdotdev dotdevdotdev released this 06 Nov 11:21
· 21 commits to main since this release
315cc51

Improved

Operations that discard uncommitted work are now judged by what they do, not how they are spelled:

  • git reset --hard is recognised through option abbreviations and -c aliases.
  • git switch -f / --discard-changes, whole-tree git restore (., *, :/) in any form, and git worktree remove --force ask for confirmation, like git checkout -f.
  • Reset, clean, switch, restore, checkout and worktree-remove assembled through xargs or parallel ask.
  • git clean dry runs are recognised under any --dry-run abbreviation.
  • 29 new conformance rows cover both sides (blocks and allows); corpus run replays 159 cases.

Thanks to a reader for the report.

Looking ahead

More operations judged by effect, with the corpus as the record.

Feedback and reports welcome: https://github.com/dotdevdotdev/damage-control-dev/issues