transport-helper: fix remote helper namespace regression
[gitweb.git] / git-remote-testgit
index 5fd09f965a644a279ac79f5f1d0748650744e922..ff36d1d39d1c9bd1fce1843ba6a6eee7f023f131 100755 (executable)
@@ -97,7 +97,12 @@ do
                while read ref a b
                do
                        test $a == $b && continue
-                       echo "ok $ref"
+                       if test -z "$GIT_REMOTE_TESTGIT_PUSH_ERROR"
+                       then
+                               echo "ok $ref"
+                       else
+                               echo "error $ref $GIT_REMOTE_TESTGIT_PUSH_ERROR"
+                       fi
                done
 
                echo