Print submodule revision next to submodule link

This commit is contained in:
stfn 2013-02-27 19:47:17 +01:00 committed by Jason A. Donenfeld
vanhempi 05da4c2822
commit c0a92e82da

Näytä tiedosto

@ -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;
}