gitweb: Check git base URLs before generating URL from it
[gitweb.git] / git-clone.sh
index bf54a11508b0d35340b6a2c4a677a38a38e37aed..24b119537bf5ed926235aabfceb8e4526af6f77a 100755 (executable)
@@ -414,7 +414,8 @@ Pull: refs/heads/$head_points_at:$origin_track" &&
 
        case "$no_checkout" in
        '')
-               git-read-tree -m -u -v HEAD HEAD
+               test "z$quiet" = z && v=-v || v=
+               git-read-tree -m -u $v HEAD HEAD
        esac
 fi
 rm -f "$GIT_DIR/CLONE_HEAD" "$GIT_DIR/REMOTE_HEAD"