commitsar
commitsar copied to clipboard
Pre-commit hook
Actually, a commit-msg
hook (ref) would be nice, e.g. with evilmartians/lefthook.
Seems to me the main ingredient would be validating a file instead of a (range of) Git revision(s).
Workaround for those who stumble over this: cog verify --file {1}
(via cocogitto/cocogitto) works; sorry for the "ad" but I didn't see a way to do it with commitsar. 🙏