commitsar icon indicating copy to clipboard operation
commitsar copied to clipboard

Pre-commit hook

Open fallion opened this issue 4 years ago • 1 comments

fallion avatar Mar 23 '20 15:03 fallion

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. 🙏

reitzig avatar Feb 06 '24 22:02 reitzig