[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

git over smart-http; how to check /refs/heads/master



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
smart-http here. So from apache log ; during push I can see

````````````````````
"GET /git/test.git/info/refs?service=git-receive-pack HTTP/1.1" 200 448 "-" "git/1.7.10"
"POST /git/test.git/git-receive-pack HTTP/1.1" 200 329 "-" "git/1.7.10"

`````````````````````

How can I then check /refs/heads/master here ?


Reply to: