I have run across an issue where my project was a submodule of some other repository. In that case the install script of pre-commit package did not execute properly. I have added handling of this case, by reading file .git in target repository. This file consists of path to the "true" .git folder.
I have run across an issue where my project was a submodule of some other repository. In that case the install script of pre-commit package did not execute properly. I have added handling of this case, by reading file .git in target repository. This file consists of path to the "true" .git folder.