on master help sign in
make output msgs more specific when comparing commits
commit3b80308e491ebbd7b50982ce587543cfdb9696db authorHarendra Kumar <harendra.kumar@gmail.com> dateSat 13 Oct 2018, 04:08 (8 years ago) parent38aa5f2
1 file changed+6−4
bench.sh+6−4
bench.sh+6−4
@@ -151,13 +151,15 @@ run_benches_comparing() {
151151 # XXX Should be where the current branch is forked from master
152152 BASE="$CANDIDATE^"
153153 fi
154− echo "Checking out base commit for benchmarking"
155− git checkout "$BASE" || die "Checkout of base commit failed"
154+ echo "Comparing baseline commit [$BASE] with candidate [$CANDIDATE]"
155+ echo "Checking out base commit [$BASE] for benchmarking"
156+ git checkout "$BASE" || die "Checkout of base commit [$BASE] failed"
156157
157158 run_benches "$bench_list"
158159
159− echo "Checking out candidate commit for benchmarking"
160− git checkout "$CANDIDATE" || die "Checkout of candidate commit failed"
160+ echo "Checking out candidate commit [$CANDIDATE] for benchmarking"
161+ git checkout "$CANDIDATE" || \
162+ die "Checkout of candidate [$CANDIDATE] commit failed"
161163
162164 run_benches "$bench_list"
163165 # XXX reset back to the original commit