diff options
author | Fathi Boudra <fathi.boudra@linaro.org> | 2017-11-07 16:52:24 +0200 |
---|---|---|
committer | Fathi Boudra <fathi.boudra@linaro.org> | 2017-11-07 16:52:24 +0200 |
commit | ec76e27743bf0acf9f5525e152d065ddcfaddeac (patch) | |
tree | fd90e4fff6e2caedacd07ae2c4790d80244f8842 | |
parent | a3d9dd9a584d8293c8d11a3c7892a30f670302f7 (diff) |
zephyr-upstream: drop depth parameter from git clone
In order to reset to the expected commit, we want the history.
Change-Id: I7e9ea962dd6821ccf15cc784299ed30f8d1f0ea1
Signed-off-by: Fathi Boudra <fathi.boudra@linaro.org>
-rwxr-xr-x | zephyr-upstream/builders.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/zephyr-upstream/builders.sh b/zephyr-upstream/builders.sh index 1d6c2c59..f79c241c 100755 --- a/zephyr-upstream/builders.sh +++ b/zephyr-upstream/builders.sh @@ -10,7 +10,7 @@ set -ex # Distro package is too old for Zephyr sudo pip3 install pyelftools pykwalify -git clone --depth 1 -b ${BRANCH} https://git.linaro.org/lite/zephyr.git ${WORKSPACE} +git clone -b ${BRANCH} https://git.linaro.org/lite/zephyr.git ${WORKSPACE} git clean -fdx if [ -n "${GIT_COMMIT}" ]; then git reset --hard ${GIT_COMMIT} |