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_txt(path);
|
||||
html("</a>");
|
||||
html_txt(fmt(" @ %.7s", rev));
|
||||
if (item && tail)
|
||||
path[len - 1] = tail;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user