From c0a92e82da3063efc230538ba109ff95aa59589a Mon Sep 17 00:00:00 2001 From: stfn Date: Wed, 27 Feb 2013 19:47:17 +0100 Subject: Print submodule revision next to submodule link --- ui-shared.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ui-shared.c') diff --git a/ui-shared.c b/ui-shared.c index 75b97a1..c4fb437 100644 --- a/ui-shared.c +++ b/ui-shared.c @@ -564,6 +564,7 @@ void cgit_submodule_link(const char *class, char *path, const char *rev) html("'>"); html_txt(path); html(""); + html_txt(fmt(" @ %.7s", rev)); if (item && tail) path[len - 1] = tail; } -- cgit v1.2.3-70-g09d2