Re: [users@httpd] git over http; how to check /refs/heads/master

2012-06-22 Thread J. Bakshi
On Fri, 22 Jun 2012 13:47:13 +0530 "J. Bakshi" wrote: > Dear list, > > I am trying to make a pre-receive hook which can check /refs/heads/master > and based on the user name it allow/deny push to master. The git is > configured over > http here. So from apache log ; during push I can see > > `

[users@httpd] git over http; how to check /refs/heads/master

2012-06-22 Thread J. Bakshi
Dear list, I am trying to make a pre-receive hook which can check /refs/heads/master and based on the user name it allow/deny push to master. The git is configured over http here. So from apache log ; during push I can see "GET /git/test.git/info/refs?service=git-receive-pac