aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Gaëtan Gilbert <gaetan.gilbert@skyskimmer.net>2018-07-04 23:29:34 +0200
committerGravatar Gaëtan Gilbert <gaetan.gilbert@skyskimmer.net>2018-07-04 23:29:34 +0200
commit00b23680d55765d9c681751813ab6e85d41786c5 (patch)
tree4e1e0409d04f45dceaf8265d497f1d34d5a75d9a
parent073c612261cd474a84bddd94b80697cbc8c28488 (diff)
parent2fdaec0c683a6b140a28cef1d1b2a32b352f4696 (diff)
Merge PR #7989: [ci] Avoid annoying detached head warning.
-rw-r--r--dev/ci/ci-common.sh2
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')" )
}