summaryrefslogtreecommitdiff
path: root/hooks/post-receive
Commit message (Collapse)AuthorAgeFilesLines
* added GL_IDadd_gl_idValery Sizov2016-10-051-1/+1
|
* Unset GL_ID and GL_PROTOCOL immediatelyJacob Vosmaer2016-07-201-4/+1
| | | | | | Neither other code executing in the hook process nor subprocesses of the hook process need access to the GL_ID / GL_PROTOCOL variables so we can just unset them the moment we fetch them.
* ARGF does more than we wantJacob Vosmaer2016-06-231-1/+1
| | | | | | | | | ARGF is a virtual IO stream that treats the elements of ARGV as paths to files to be opened. In practice, git-receive-pack will probably never pass arguments to pre-receive and post-receive because it is not supposed to (according to 'man 5 githooks'). In case it does, however our hooks should not have the surprise behavior of treating those arguments as files to be opened.
* Move setting/unsetting of GL_ID from lib to executables.Douwe Maan2015-04-061-0/+3
|
* Revert "Restore hooks PATH before calling ruby."Valery Sizov2014-11-191-4/+17
| | | | This reverts commit cd9e796316560eee596f2681d54a8417389bbe79.
* Restore hooks PATH before calling ruby.Ciro Santilli2014-11-171-17/+4
|
* Support for custom hooksDrew Blessing2014-11-051-3/+4
|
* Add new pre-receive and post-receive hooksDmitriy Zaporozhets2014-09-011-0/+17
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Remove empty post-receive hookJacob Vosmaer2013-07-191-4/+0
|
* Mention that users can edit the hooksJacob Vosmaer2013-07-191-3/+1
|
* Use update hook to add post event to redis. Use GL_ID instead of GL_USERDmitriy Zaporozhets2013-02-141-9/+4
|
* Update hook and support for protected branchesDmitriy Zaporozhets2013-02-061-1/+0
|
* set GL_USERDmitriy Zaporozhets2013-02-041-0/+0
|
* link post-receive hook alsoDmitriy Zaporozhets2013-02-041-0/+12