I tried git 1.9.* (several subversions) and 2.2.2, and none triggered the pre-commit hook during git init. The hooks were successfully copied from the templates folder, and triggered successfully when I tried to commit, but the README gives the impression a simple git init should trigger pre-commit. Is this a change in more recent git versions? If so, is there a hook that runs during git init, or is some other hook or method necessary?
I tried git 1.9.* (several subversions) and 2.2.2, and none triggered the
pre-commithook duringgit init. The hooks were successfully copied from the templates folder, and triggered successfully when I tried to commit, but the README gives the impression a simplegit initshould triggerpre-commit. Is this a change in more recent git versions? If so, is there a hook that runs duringgit init, or is some other hook or method necessary?