I have a server with a lot of bare repos, but none of these projects will 
run the post-receive hook.

For example:
Path is /gitRepos/repositories/MyNewProject.git

The content of the post-receive hook is
!#/bin/sh
echo "Hello"

Running /gitRepos/repositories/MyNewProject.git/hooks/post-receive locally 
gives the result
Hello

so obviously it is runnable. The post-receive file is listed as:
-rwxr-xr-x 1 gitadmin users  109 May 21 13:57 post-receive

Also, calling the script via ssh <user>@server 
"/gitRepos/repositories/MyNewProject.git/hooks/post-receive" also gives the 
result
Hello

All users are in the users group.

But pushing to MyNewProject yields nothing else but
remote: Processing changes: refs: 1, done

I was expecting to see a line after that with
remote: Hello

What am I missing here?

-- 
You received this message because you are subscribed to the Google Groups "Git 
for human beings" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to git-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to