-
Bug
-
Resolution: Duplicate
-
Highest
-
None
-
4.2.2
-
None
-
Severity 1 - Critical
GIT pre-commit hooks do not work.
MacOS Ventura 13.2.1 (Arm Based M1)
SourceTree 4.2.2 (250)
Have tried with both embedded and system git - Neither work
Hooks work as expected when running on the command line with system git.
kate@kwilki-nb-ecr ganymede_configuration % which git /usr/bin/git kate@kwilki-nb-ecr ganymede_configuration % git --version git version 2.39.2 (Apple Git-143)
The only way I can make them work is to run sourcetree from the command line within the repo directory with
open /Applications/Sourcetree.app
when this is done then pre-commit hooks work as expected.
- relates to
-
SRCTREE-7184 Commit hooks are skipped due to PATH issues
- Closed