Git server side hooks (foreing hooks are being executed somehow)


While testing server side pre-receive hooks I noticed some strange behaviour. Hook defined for only one repository some how getting executed for all repositories on the server.

i’ve written the test script that only outputs “Hello world” :slight_smile: message.
I’ve got it installed as pre-receive hook for just ONE repository, say test.git.

when I push to the other repo, I get the “Hello world” message.
the other repo have no connections to the test repo.
is that a bug? should we upgrade?