summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Silverstone <dsilvers@digital-scurf.org>2012-09-01 10:20:37 +0100
committerDaniel Silverstone <dsilvers@digital-scurf.org>2012-09-01 10:20:37 +0100
commitda2dc29bb45753686f1ca2aed548e9216b83c7e8 (patch)
tree6d7d73a061654607660daacc3f154950322f40a0
parent69bb19899d3651f8290b59002c0c9482bb8f3833 (diff)
downloadgitano-da2dc29bb45753686f1ca2aed548e9216b83c7e8.tar.gz
SUPPLE: Tidy _repo -> repo
-rw-r--r--lib/gitano/supple.lua5
1 files changed, 2 insertions, 3 deletions
diff --git a/lib/gitano/supple.lua b/lib/gitano/supple.lua
index 3af7633..9520c3d 100644
--- a/lib/gitano/supple.lua
+++ b/lib/gitano/supple.lua
@@ -129,9 +129,8 @@ return (function(hookname, repo, ...)
end)(...)
]]
-local function run_hook(_repo, hook, ...)
- repo = _repo
- local proxy = get_repo_proxy(_repo)
+local function run_hook(repo, hook, ...)
+ local proxy = get_repo_proxy(repo)
log.ddebug("Entering supple.host.run()")
return supple.host.run(supple_runtime_code, "@gitano.supple.runtime",
hook, proxy, ...)