I simply want to fire a program on each commit done inside the git extension environment in visual studio 2022. The hooks that I set up work perfectly when commit is called from CMD, but are totally ignored when comitted inside visual studio
I have tried putting the hooks global and local without results. I read somewhere that be default visual studio creates its own kind of git environment which will not find your hooks, so you need to tell it to use the local version of git by changing the external web tools paths, but this also did not work
For now Id like to just see anything done on post-commit so the content of the hook is not very relevant I think. Especially since it is called fine from the CMD
I could not find much recent posts about this problem. Is there something I have missed, or some other simple workaround? Looking into creating my own visual studio extension, but there must be a simpler way no?