about summary refs log tree commit diff
diff options
context:
space:
mode:
authorstfn <stfnmd@gmail.com>2013-02-27 19:47:17 +0100
committerJason A. Donenfeld <Jason@zx2c4.com>2013-03-02 10:26:28 -0500
commitc0a92e82da3063efc230538ba109ff95aa59589a (patch)
tree993b7a32fd45f121d92f68ebeb5f140482a56167
parentSupport unannotated tags in git-clone. (diff)
downloadcgit-pink-c0a92e82da3063efc230538ba109ff95aa59589a.tar.gz
cgit-pink-c0a92e82da3063efc230538ba109ff95aa59589a.zip
Print submodule revision next to submodule link
-rw-r--r--ui-shared.c1
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)
 	html("'>");
 	html_txt(path);
 	html("</a>");
+	html_txt(fmt(" @ %.7s", rev));
 	if (item && tail)
 		path[len - 1] = tail;
 }
an-pages/commit/gzprintf.3?id=510d1f042a94b5435d1e514a452a9fa193eb2d9e&follow=1'>Add gzprintf.3June McEnroe 2018-11-13Add gzfwrite.3June McEnroe 2018-11-13Add gzwrite.3June McEnroe 2018-11-12Add gzfread.3June McEnroe 2018-11-12Add gzread.3June McEnroe 2018-11-12Add gzsetparams.3June McEnroe 2018-11-12Add gzbuffer.3June McEnroe 2018-11-12Add gzdopen to gzopen.3June McEnroe 2018-11-12Add gzopen.3June McEnroe 2018-11-12Add inflateBackEnd.3June McEnroe 2018-11-12Add inflateBack.3June McEnroe 2018-11-12Add inflateBackInit.3June McEnroe 2018-11-11Add inflateGetHeader.3June McEnroe 2018-11-11Add inflateMark.3June McEnroe 2018-11-11Add inflatePrime.3June McEnroe 2018-11-11Add inflateReset.3June McEnroe 2018-11-11Add inflateCopy.3June McEnroe 2018-11-11Add inflateSync.3June McEnroe 2018-11-11Add inflateGetDictionary.3June McEnroe 2018-11-11Add inflateSetDictionary.3June McEnroe 2018-11-11Add inflateInit2.3June McEnroe