Merge branch 'maint-1.6.6' into maint
[gitweb.git] / t / lib-patch-mode.sh
old mode 100755 (executable)
new mode 100644 (file)
index afb4b66..ce36f34
@@ -1,5 +1,12 @@
+: included from t2016 and others
+
 . ./test-lib.sh
 
+if ! test_have_prereq PERL; then
+       say 'skipping --patch tests, perl not available'
+       test_done
+fi
+
 set_state () {
        echo "$3" > "$1" &&
        git add "$1" &&