summaryrefslogtreecommitdiff
path: root/plugins/rsync.lua
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/rsync.lua')
-rw-r--r--plugins/rsync.lua7
1 files changed, 2 insertions, 5 deletions
diff --git a/plugins/rsync.lua b/plugins/rsync.lua
index da4bdb7..310fe59 100644
--- a/plugins/rsync.lua
+++ b/plugins/rsync.lua
@@ -67,9 +67,6 @@ local function rsync_detect_repo(config, cmdline)
gitano.util.mkdir_p(repo:fs_path() .. "/rsync")
-- And give back the repo for ruleset running and the cmdline for the rsync
-
- gitano.log.error(cmdline[#cmdline])
-
return repo, cmdline
end
@@ -91,7 +88,7 @@ local function rsync_prep(config, repo, cmdline, context)
else
context.operation = "write"
end
- return config.repo:run_lace(context)
+ return repo:run_lace(context)
end
local function rsync_run(config, repo, cmdline, env)
@@ -104,5 +101,5 @@ end
assert(gitano.command.register("rsync",
rsync_short_help, rsync_helptext,
rsync_validate, rsync_prep, rsync_run,
- true, false, false,
+ true, true, false,
rsync_detect_repo))