summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorvarac <varacanero@zeromail.org>2017-04-06 17:12:18 +0200
committerKali Kaneko <kali@leap.se>2017-07-07 21:25:06 +0200
commit5b4e5c3c44d7538a0f995408f959ceb9226ce54b (patch)
treea4dc34f5ffd14ca25ae5c2a302bf1d0d65c2ea74
parent1f8e7fdf24cd917884ff10b613da81c267c7e5aa (diff)
[benchmarks] 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