Reputation: 743
Unfortunately I have to run git on Windows.
I am sharing the git repository using a windows share (e.g. //ip address/GitRepo.git)
The problem is that git seems to treat this as a local path and runs the pre-receive hook on the client!
e.g. if my pre-receive hook consists of something along the lines of:
echo $(ls /C)
then I see the contents of the client C drive and not the server
How do I get the pre-receive hook to run on the server?
Upvotes: 2
Views: 234