diff options
author | Richard Maw <richard.maw@codethink.co.uk> | 2016-01-13 16:35:39 +0000 |
---|---|---|
committer | Richard Maw <richard.maw@codethink.co.uk> | 2016-01-13 16:35:39 +0000 |
commit | 287b045f98466ca05d1a53e2b6edd1e845c6df69 (patch) | |
tree | b6f3d78628860dc86147eaba8639cd84a8d73e16 /testing/gitano-test-tool.in | |
parent | cc8cb13126944fd47ffecf5529045e8ebda9800e (diff) | |
download | gitano-287b045f98466ca05d1a53e2b6edd1e845c6df69.tar.gz |
testing: Extend cloneviassh to accept depth
Diffstat (limited to 'testing/gitano-test-tool.in')
-rw-r--r-- | testing/gitano-test-tool.in | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/testing/gitano-test-tool.in b/testing/gitano-test-tool.in index 8ed7546..e07ad15 100644 --- a/testing/gitano-test-tool.in +++ b/testing/gitano-test-tool.in @@ -150,10 +150,10 @@ function cmd_setupstandard(owning_user, master_key) } end -function cmd_cloneviassh(user, key, repo, localname) +function cmd_cloneviassh(user, key, repo, localname, ...) local exturl = generate_exturl(user, key, repo) run_program { - "git", "clone", exturl, user_home(user) .. "/" .. localname, + "git", "clone", exturl, user_home(user) .. "/" .. localname, ... } end |