TortoiseGit hook script added to the registry not recognized by the application
What steps will reproduce the problem?
- Create a pre-commit hook script in TortoiseGit.
- Access
Computer\HKEY_CURRENT_USER\Software\TortoiseGit
- Obtains the registry value from the hooks section.
- Use reg add to add to another machine or export
Computer\HKEY_CURRENT_USER\Software\TortoiseGit
to a .reg file. - Add this key to another machine. Now access TortoiseGit. The hook script will not be present and it will delete the key value you just created.
What is the expected output? What do you see instead?
I would expect the key/value would persist and the application could consume the added hook script.
What version of TortoiseGit and Git are you using? On what operating system?
Git 2.3.1 windows and Tortoise Git 2.12.
Please provide any additional information below.
Edited by Sven Strickroth