Do not pull in HEAD less state
This commit is contained in:
parent
9b1ca64083
commit
180c44340c
1 changed files with 1 additions and 0 deletions
1
fabfile.py
vendored
1
fabfile.py
vendored
|
@ -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))
|
||||
|
|
Loading…
Reference in a new issue