summaryrefslogtreecommitdiffstats
path: root/groovy/protect-refs.groovy
diff options
context:
space:
mode:
authorJames Moger <james.moger@gitblit.com>2012-09-14 09:36:46 -0400
committerJames Moger <james.moger@gitblit.com>2012-09-14 09:36:46 -0400
commit6bb3b233c8a73d4fe4e5024794029fdc75a9f1bb (patch)
tree51e964b5de619793ed71910fc8367a860daf7441 /groovy/protect-refs.groovy
parent381cd5df2956c0b3b757e6d8e16f268a7c4babd1 (diff)
downloadgitblit-6bb3b233c8a73d4fe4e5024794029fdc75a9f1bb.tar.gz
gitblit-6bb3b233c8a73d4fe4e5024794029fdc75a9f1bb.zip
Expose ReceivePack to Groovy hooks (issue 125)
Diffstat (limited to 'groovy/protect-refs.groovy')
-rw-r--r--groovy/protect-refs.groovy1
1 files changed, 1 insertions, 0 deletions
diff --git a/groovy/protect-refs.groovy b/groovy/protect-refs.groovy
index f730bcb2..b1b611f4 100644
--- a/groovy/protect-refs.groovy
+++ b/groovy/protect-refs.groovy
@@ -59,6 +59,7 @@ import org.slf4j.Logger
* Bound Variables:
* gitblit Gitblit Server com.gitblit.GitBlit
* repository Gitblit Repository com.gitblit.models.RepositoryModel
+ * receivePack JGit Receive Pack org.eclipse.jgit.transport.ReceivePack
* user Gitblit User com.gitblit.models.UserModel
* commands JGit commands Collection<org.eclipse.jgit.transport.ReceiveCommand>
* url Base url for Gitblit String