From 180c44340c610f13b52f9966171ff88e5b2a3548 Mon Sep 17 00:00:00 2001 From: Yohan Boniface Date: Sat, 7 Dec 2013 12:42:06 +0100 Subject: [PATCH] Do not pull in HEAD less state --- fabfile.py | 1 + 1 file changed, 1 insertion(+) diff --git a/fabfile.py b/fabfile.py index fdd92ad9..8386cdd2 100644 --- a/fabfile.py +++ b/fabfile.py @@ -265,6 +265,7 @@ def collect_remote_statics(): exists = run_as_umap('if [ -d "{0}" ]; then echo 1; fi'.format(subdir)) if exists: with cd(subdir): + run_as_umap('git checkout {0}'.format(branch)) run_as_umap('git pull origin {0} --tags'.format(branch)) else: run_as_umap('git clone {0} {1}'.format(repository, subdir))