From 3924f667f2476ab97d6732a1805e51175b8dfd94 Mon Sep 17 00:00:00 2001 From: Refael Ackermann Date: Mon, 19 May 2014 10:12:33 +0300 Subject: [PATCH] shallow copy --- worker.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/worker.js b/worker.js index b89acb6..9795332 100644 --- a/worker.js +++ b/worker.js @@ -68,7 +68,7 @@ function clone(dest, config, ref, context, done) { if (ref.branch) { cmd += ' -b ' + ref.branch // this /only/ gets the one branch; so only use if we won't be caching - if (!config.cache) cmd += ' --single-branch' + if (!config.cache) cmd += ' --depth 1' } return utils.gitaneCmd(cmd, dest, config.auth.privkey, context, done) }