]> git.ipfire.org Git - thirdparty/git.git/commitdiff
Update Dothem to build if jch and next are different
authorJunio C Hamano <gitster@pobox.com>
Thu, 12 Mar 2009 23:05:56 +0000 (16:05 -0700)
committerJunio C Hamano <gitster@pobox.com>
Thu, 12 Mar 2009 23:05:56 +0000 (16:05 -0700)
Dothem

diff --git a/Dothem b/Dothem
index c22a6fa45b248204208b4b99c23b192db2eea629..89ae7a3b78fa535f9d66e8e512c22ea7b16ff6b3 100755 (executable)
--- 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