mirror of
https://git.zx2c4.com/cgit
synced 2025-09-01 23:05:13 +00:00
Print submodule revision next to submodule link
This commit is contained in:
@@ -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;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user