[master] c97b8e369 Try to stave off trouble as seen to day with generated vmod-boilerplate

Poul-Henning Kamp phk at FreeBSD.org
Tue Feb 19 22:37:07 UTC 2019


commit c97b8e369594050e7c60494429626ea98c46ecb3
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Tue Feb 19 22:36:12 2019 +0000

    Try to stave off trouble as seen to day with generated vmod-boilerplate

diff --git a/tools/vtest.sh b/tools/vtest.sh
index 1508c2fca..4d4b3d6dd 100755
--- a/tools/vtest.sh
+++ b/tools/vtest.sh
@@ -212,6 +212,7 @@ while [ $MAXRUNS -eq 0 ] || [ $i -lt $MAXRUNS ]
 do
 	i=$((i + 1))
 
+	(cd "${SRCDIR}" && git reset --hard > /dev/null 2>&1 || true)
 	(cd "${SRCDIR}" && git pull > /dev/null 2>&1 || true)
 	rev=`cd "${SRCDIR}" && git show -s --pretty=format:%H`
 	if [ "${waitnext}" -gt 0 -a "x${rev}" = "x${orev}" ] ; then


More information about the varnish-commit mailing list