summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2017-04-06 17:12:18 +0200
committerdrebs <drebs@leap.se>2017-07-03 14:19:50 -0300
commitac87ecdf9d22f986ccd403df4ea1b1d4e044b4d0 (patch)
tree46702babe6c44e28477b28b76ccfa41106852dd8
parentea14af6c87f05ba70c30de9b664aac9e192c8f0e (diff)
[test] Use git reset --hard so commit_info.branch will stay at master
-rwxr-xr-xbenchmark-all-commits.sh4
1 files changed, 1 insertions, 3 deletions
diff --git a/benchmark-all-commits.sh b/benchmark-all-commits.sh
index cde4f9af..907ec280 100755
--- a/benchmark-all-commits.sh
+++ b/benchmark-all-commits.sh
@@ -45,7 +45,5 @@ do
git show | head -6
echo
- git reset HEAD .gitlab-ci.yml
- git checkout .gitlab-ci.yml
- git checkout HEAD^
+ git reset --hard HEAD^
done