diff options
author | Emilio Jesus Gallego Arias <e+git@x80.org> | 2018-07-04 04:02:02 +0200 |
---|---|---|
committer | Emilio Jesus Gallego Arias <e+git@x80.org> | 2018-07-04 04:02:02 +0200 |
commit | 2fdaec0c683a6b140a28cef1d1b2a32b352f4696 (patch) | |
tree | 529c930ee176b7f18ff1ab4599ea34774fcc5596 /dev | |
parent | 218c6cebf770a15fb3ca6eca1d587f42b8994234 (diff) |
[ci] Avoid annoying detached head warning.
Diffstat (limited to 'dev')
-rw-r--r-- | dev/ci/ci-common.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/ci/ci-common.sh b/dev/ci/ci-common.sh index 85df249d3..a68cd0933 100644 --- a/dev/ci/ci-common.sh +++ b/dev/ci/ci-common.sh @@ -69,7 +69,7 @@ git_checkout() if [ ! -d .git ] ; then git clone "${_DEPTH[@]}" "${_URL}" . ; fi && \ echo "Checking out ${_DEST}" && \ git fetch "${_URL}" "${_BRANCH}" && \ - git checkout "${_COMMIT}" && \ + git -c advice.detachedHead=false checkout "${_COMMIT}" && \ echo "${_DEST}: $(git log -1 --format='%s | %H | %cd | %aN')" ) } |