Update Dothem to build if jch and next are different
Junio C Hamano committed
Mar 12, 2009 at 16:05 UTC
11ac3c74fd8d565f67d0fae35bba2237f90e481a
1 file changed
+7
-1
Dothem
+7
-1
index c22a6fa45b..89ae7a3b78 100755
--- a/Dothem
+++ b/Dothem
@@ -54,7 +54,13 @@ do
(
case "$branch, $branches " in
jch,*' next '*)
- dotest= ;;
+ if git diff --quiet --exit-code jch next
+ then
+ dotest=
+ else
+ dotest=test
+ fi
+ ;;
*)
dotest=test ;;
esac