FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Debian > Debian User

 
 
LinkBack Thread Tools
 
Old 06-22-2012, 10:36 AM
"J. Bakshi"
 
Default 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 ?


--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20120622160617.4ddd232b@shiva.selfip.org">http://lists.debian.org/20120622160617.4ddd232b@shiva.selfip.org
 
Old 06-22-2012, 10:36 AM
"J. Bakshi"
 
Default 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 ?

--
ubuntu-users mailing list
ubuntu-users@lists.ubuntu.com
Modify settings or unsubscribe at: https://lists.ubuntu.com/mailman/listinfo/ubuntu-users
 

Thread Tools




All times are GMT. The time now is 08:56 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org