Meta/Dothem: no need to retest if only documentation changed

Junio C Hamano committed Feb 5, 2014 at 14:45 UTC 9340d1ffa720ae1cda82fd59d15ba6fb6938db4e
1 file changed +4 -8
Dothem
+4 -8
@@ -148,6 +148,10 @@ do
148 then
149 skip_test=1
150 skip_doc=1
151 + elif git diff --quiet "$vtree" "$rtree" -- . \
152 + ':!GIT-VERSION-GEN' ':!Documentation/'
153 + then
154 + skip_test=1
155 fi
156 dvtree=$(git rev-parse --verify "$version:Documentation/")
157 drtree=$(git rev-parse --verify "$revision:Documentation/")
@@ -155,14 +159,6 @@ do
159 then
160 skip_doc=1
161 fi
158 - case "$branch, $branches " in
159 - jch,*' next '*)
160 - if git diff --quiet --exit-code jch next
161 - then
162 - skip_test=1
163 - fi
164 - ;;
165 - esac
162 ;;
163 esac
164