doc/clone: Pick more compelling paths for the --reference example
[gitweb.git] / git-remote-testgit.sh
index b5289493e2ca84bbbff58734bcb0abcae2145312..2109070d00411dbd9f1ba70e55587091d50a8a08 100755 (executable)
@@ -37,6 +37,7 @@ do
                        echo "*import-marks $gitmarks"
                        echo "*export-marks $gitmarks"
                fi
+               test -n "$GIT_REMOTE_TESTGIT_SIGNED_TAGS" && echo "signed-tags"
                echo
                ;;
        list)
@@ -103,7 +104,12 @@ do
                        *" $ref $a "*)
                                continue ;;     # unchanged
                        esac
-                       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