On Thu, May 08, 2014 at 11:53:51AM +0100, Vanush Misha Paturyan wrote:
From: "Vanush \"Misha\" Paturyan"
Gavin Lee (1):
Short-circuiting hooks if repository is accessed directly
bin/gitano-auth.in | 1 +
bin/gitano-post-receive-hook.in | 6 ++++++
bin/gitano-pre-receive-hook.in | 6 ++++++
bin/gitano-update-hook.in | 6 ++++++
4 files changed, 19 insertions(+)
This looks good to me, though we would also want to make the cgis that are
used for http set a GITANO_RUNNING env var too. As it happens the
refactoring series that was submitted recently sets these env vars in
auth.lua rather than in gitano-auth, gitano-command.cgi
It's shouldn't be difficult to tweak this patch so it's based off the
refactored code, so I expect it will be done on merge.