Check and fix NOCOMMIT hook
Read Git dir correctly
Read command line flags an set sensible defaults
Bump version to 1.2 for release
Merge branch 'release/1.2' into develop