summaryrefslogtreecommitdiff
path: root/obbench
diff options
context:
space:
mode:
Diffstat (limited to 'obbench')
-rwxr-xr-xobbench4
1 files changed, 3 insertions, 1 deletions
diff --git a/obbench b/obbench
index 13c875a..f719cad 100755
--- a/obbench
+++ b/obbench
@@ -57,7 +57,9 @@ class ObnamBenchmarker(cliapp.Application):
if os.path.exists(gitdir):
cliapp.runcmd(['git', 'pull'], cwd=gitdir)
else:
- cliapp.runcmd(['git', 'clone', spec['git'], gitdir])
+ cliapp.runcmd(
+ ['git', 'clone', '-b', 'master', spec['git'],
+ gitdir])
def gitdir(self, statedir):
return os.path.join(statedir, 'git')