[PATCH 2/5] Revert "ui-summary: add "rel='vcs-git'" to clone URL links"

Juuso Lapinlampi wub at partyvan.eu
Wed May 11 20:04:15 CEST 2016

vcs-git is not a registered keyword. This microformat does not seem to
be very popular and will throw errors in HTML validators.

Because the <link> element leaves us with no sensible rel attribute to
use, there's no reason to keep this.

For future consideration, microdata should be marked with Schema.org
markup instead.

This reverts commit d31be4ccc2f978edd2a40c2721e1efdc1eee2343.
 ui-summary.c | 6 ++----
 1 file changed, 2 insertions(+), 4 deletions(-)

diff --git a/ui-summary.c b/ui-summary.c
index 8e81ac4..375bd45 100644
--- a/ui-summary.c
+++ b/ui-summary.c
@@ -31,11 +31,9 @@ static void print_url(const char *url)
 		htmlf("<tr class='nohover'><th class='left' colspan='%d'>Clone</th></tr>\n", columns);
-	htmlf("<tr><td colspan='%d'><a rel='vcs-git' href='", columns);
+	htmlf("<tr><td colspan='%d'><a href='", columns);
-	html("' title='");
-	html_attr(ctx.repo->name);
-	html(" Git repository'>");
+	html("'>");

More information about the CGit mailing list