diff options
context:
space:
mode:
authorstfn <stfnmd@gmail.com>
committerJason A. Donenfeld <Jason@zx2c4.com>
commit
parent
tree
download
Print submodule revision next to submodule link
Diffstat (limited to 'ui-shared.c')
-rw-r--r--ui-shared.c1
1 file changed, 1 insertion, 0 deletions
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("</a>");
+ html_txt(fmt(" @ %.7s", rev));
if (item && tail)
path[len - 1] = tail;
}