Skip to content

Commit

Permalink
Merge d9579cf into 1a380c4
Browse files Browse the repository at this point in the history
  • Loading branch information
mvidalgarcia committed Jan 14, 2020
2 parents 1a380c4 + d9579cf commit fd7b6a8
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion reana_workflow_controller/utils.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,8 @@ def create_workflow_workspace(path, user_id=None,
repo = Repo.clone_from(url=url,
to_path=os.path.abspath(
reana_fs.root_path + '/' + path),
branch=git_branch)
branch=git_branch,
depth=1)
repo.head.reset(commit=git_ref)


Expand Down

0 comments on commit fd7b6a8

Please sign in to comment.