ddddavidmartin / Pre-commit-hooks

A set of useful (and documented!) git pre-commit hooks.
BSD 2-Clause "Simplified" License
101 stars 30 forks source link

Installation of hooks in a submodule fails #6

Open jacky405 opened 8 years ago

jacky405 commented 8 years ago

Running "install_hooks.sh" on a submodule results in the following:

Git pre-commit hook installation.

Error: MySubmodule/.git does not exist. Are you sure MySubmodule is the root directory of your local git repository?