mirror of https://github.com/ansible/ansible.git
Resolve incompatability between depth and version
Git is unable to checkout the specified `version` when the repository is cloned with a reduced history (`depth`). However, if the repository is already cloned, subsequent git module calls will update the repository (default update=True), then properly checkout the specified `version`. To allow the initial call to properly clone the specified `version`, at the specified `depth`, this patch adds the `--branch` parameter when cloning the repository.pull/3578/head
parent
c3a8b6ff07
commit
95a22338a2
Loading…
Reference in New Issue