[master] f65fcaeae Dont treat `git pull` non-zero exit as fatal

Poul-Henning Kamp phk at FreeBSD.org
Mon Nov 29 22:25:05 UTC 2021


commit f65fcaeae09ff3fc7a32412c59cd8f27a9b7f244
Author: Poul-Henning Kamp <phk at FreeBSD.org>
Date:   Mon Nov 29 22:24:12 2021 +0000

    Dont treat `git pull` non-zero exit as fatal

diff --git a/tools/vtest.sh b/tools/vtest.sh
index bf46d894e..f695f1f56 100755
--- a/tools/vtest.sh
+++ b/tools/vtest.sh
@@ -226,7 +226,7 @@ do
 	        rm -rf varnish-trunk > /dev/null 2>&1 || true
 	        git reset --hard > /dev/null 2>&1 || true
 	        git clean -df > /dev/null 2>&1 || true
-	        git pull > /dev/null 2>&1
+	        git pull > /dev/null 2>&1 || true
 	)
 	rev=`cd "${SRCDIR}" && git show -s --pretty=format:%H`
 	if [ "x${rev}" != "x${orev}" ] ; then


More information about the varnish-commit mailing list