Skip to content

Latest commit

 

History

History
22 lines (15 loc) · 570 Bytes

README.md

File metadata and controls

22 lines (15 loc) · 570 Bytes

pairshaped

A pre-commit hook that explodes unless there are two faces present.

Installation

$ brew install homebrew/science/opencv
$ go get github.com/acrmp/pairshaped

Within the repo that you want to enforce pairing:

$ ln -s $(which pairshaped) .git/hooks/pre-commit
$ curl 'https://raw.githubusercontent.com/lazywei/go-opencv/master/samples/haarcascade_frontalface_alt.xml' > .git/hooks/haarcascade_frontalface_alt.xml

Related

On a more serious note you may find git duet's GIT_DUET_ROTATE_AUTHOR useful if you haven't come across it.