mirror of
https://github.com/YunoHost/yunohost.git
synced 2024-09-03 20:06:10 +02:00
Change git clone for gitlab working with branch (#615)
This commit is contained in:
parent
9632164c43
commit
808d844f84
1 changed files with 1 additions and 1 deletions
|
@ -1907,7 +1907,7 @@ def _fetch_app_from_git(app):
|
|||
# we will be able to use it. Without this option all the history
|
||||
# of the submodules repo is downloaded.
|
||||
subprocess.check_call([
|
||||
'git', 'clone', '--depth=1', '--recursive', url,
|
||||
'git', 'clone', '-b', branch, '--single-branch', '--recursive', '--depth=1', url,
|
||||
extracted_app_folder])
|
||||
subprocess.check_call([
|
||||
'git', 'reset', '--hard', branch
|
||||
|
|
Loading…
Add table
Reference in a new issue