Re:Figure out who's leaving the company: dump, diff, repeat
by svat on Friday February 09, 2024 @01:00AM
(#39311875)
I do something similar but instead of `|| exit 0` I use `--allow-empty` on the `git commit`. I don't mind the empty commits this creates, as they let me know that there was a successful automated run that happened to be empty, rather than having failed to run for whatever reason.
[ Parent
| on HN ]
Re:Figure out who's leaving the company: dump, diff, repeat
by michaelcampbell on Friday February 09, 2024 @09:48AM
(#39315328)
Thanks for this, much more "intent revealing" than my (up to today) standard practice of `... || true` to keep my `set -e` from killing my script for this "error-but-not-really"