Im running cygwin on a windows vista pc. Ive successfully installed sshd, configured, and built gitosis. I can remotely git clone the gitosis-admin.git repository, made a change to the config, committed and pushed back to cygwin machine successfully.
However the post-update doesnt execute and the new repository (as specified in the config) have not created.
I have run:
chmod 755 /home/git/repositories/gitosis-admin.git/hooks/post-update
and an ls -l shows the following:
-rwxr-xr-x 1 git None 69 2010-04-13 22:55 post-update
yet, when I run:
./post-update
I receive the following error:
ERROR:gitosis.run_hook:Must have GIT_DIR set in enviroment
Ive included in my git .bashrc the line:
GIT_DIR=$HOME/repositories/gitosis-admin.git/
and if I type Set at the prompt, I can see:
GIT_DIR=/home/git/repositories/gitosis-admin.git/
What else can I try, because Im running out of ideas.