diff options
| author | 2013-02-28 03:47:17 (JST) | |
|---|---|---|
| committer | 2013-03-03 00:26:28 (JST) | |
| commit | c0a92e82da3063efc230538ba109ff95aa59589a (patch) | |
| tree | 993b7a32fd45f121d92f68ebeb5f140482a56167 | |
| parent | 05da4c2822f60649786c0dd81f01a3855846248f (diff) | |
| download | cgit-c0a92e82da3063efc230538ba109ff95aa59589a.zip cgit-c0a92e82da3063efc230538ba109ff95aa59589a.tar.gz | |
Print submodule revision next to submodule link
| -rw-r--r-- | ui-shared.c | 1 |
1 files changed, 1 insertions, 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) | |||
| 564 | html("'>"); | 564 | html("'>"); |
| 565 | html_txt(path); | 565 | html_txt(path); |
| 566 | html("</a>"); | 566 | html("</a>"); |
| 567 | html_txt(fmt(" @ %.7s", rev)); | ||
| 567 | if (item && tail) | 568 | if (item && tail) |
| 568 | path[len - 1] = tail; | 569 | path[len - 1] = tail; |
| 569 | } | 570 | } |
