bento
bento copied to clipboard
Bento autorun should skip if files are exclusively deleted
Make a commit that deletes files only. Git commit it with bento autorun enabled:
git commit -am "comment ifelse for platform run"
Running Bento checks on staged files...
⚠ Nothing to check or archive. Please confirm that changes are staged and not
excluded by `.bentoignore`. To check all Git tracked files, use `--all`.
✔ 0 findings due to staged changes in 0.00 s
Desired behavior: It would be nice if Bento didn't run if the commit is just deleting files. Bento version: 0.9.1
@ievans Thanks for filing. To clarify, were you prevented from merging or did another bug occur? If not, marking this as an enhancement.
Not prevented from merging, enhancement is fine
@ievans As a follow up, can you describe what this helps you with? E.g. are you concerned about commit speed, or do you find the text surprising?
Just find the text surprising
Great, thanks for the update