Skip to content

acrmp/pairshaped

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commits
 
 
 
 
 
 
 
 

Repository files navigation

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.

About

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages