From 2b88c8275cfb0a5917103efdcde1166077f96649 Mon Sep 17 00:00:00 2001 From: Li Haoyi Date: Sun, 4 Feb 2018 04:34:51 -0800 Subject: try to fix git head in test4.sh --- ci/test4.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ci/test4.sh b/ci/test4.sh index 137cec0e..3ce6c1c1 100755 --- a/ci/test4.sh +++ b/ci/test4.sh @@ -2,6 +2,9 @@ set -eux +# Force travis to create a git HEAD otherwise common operations don't work +git checkout -B current + # Starting from scratch... git clean -xdf -- cgit v1.2.3