mirror of
https://git.zx2c4.com/cgit
synced 2024-11-22 16:38:42 +00:00
Print submodule revision next to submodule link
This commit is contained in:
parent
05da4c2822
commit
c0a92e82da
@ -564,6 +564,7 @@ void cgit_submodule_link(const char *class, char *path, const char *rev)
|
|||||||
html("'>");
|
html("'>");
|
||||||
html_txt(path);
|
html_txt(path);
|
||||||
html("</a>");
|
html("</a>");
|
||||||
|
html_txt(fmt(" @ %.7s", rev));
|
||||||
if (item && tail)
|
if (item && tail)
|
||||||
path[len - 1] = tail;
|
path[len - 1] = tail;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user