git-check-assertions/bin
Sven van Heugten a31bc62046
Check initial state before running
```git-check-assertions
run test/git-check-assertions.bats
assert_success

git checkout HEAD~1 bin
run test/git-check-assertions.bats
assert_failure
assert_output --partial "not ok 2 should refuse to run when the index has changes"
assert_output --partial "not ok 3 should refuse to run when the working tree has changes"
assert_output --partial "not ok 4 should refuse to run when there are untracked files"
```
2026-03-06 05:12:00 +01:00
..
git-check-assertions Check initial state before running 2026-03-06 05:12:00 +01:00