List for cgit developers and users
 help / color / mirror / Atom feed
* [PATCH 1/1] print git version string in footer
@ 2018-06-04 20:29 list
  2018-06-04 20:51 ` Jason
  2018-06-05 14:46 ` list
  0 siblings, 2 replies; 9+ messages in thread
From: list @ 2018-06-04 20:29 UTC (permalink / raw)


From: Christian Hesse <mail at eworm.de>

Signed-off-by: Christian Hesse <mail at eworm.de>
---
 ui-shared.c | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/ui-shared.c b/ui-shared.c
index 9d8f66b..c7d442d 100644
--- a/ui-shared.c
+++ b/ui-shared.c
@@ -10,6 +10,7 @@
 #include "ui-shared.h"
 #include "cmd.h"
 #include "html.h"
+#include "version.h"
 
 static const char cgit_doctype[] =
 "<!DOCTYPE html>\n";
@@ -785,8 +786,8 @@ void cgit_print_docend(void)
 	if (ctx.cfg.footer)
 		html_include(ctx.cfg.footer);
 	else {
-		htmlf("<div class='footer'>generated by <a href='https://git.zx2c4.com/cgit/about/'>cgit %s</a> at ",
-			cgit_version);
+		htmlf("<div class='footer'>generated by <a href='https://git.zx2c4.com/cgit/about/'>cgit %s</a> (git %s) at ",
+			cgit_version, git_version_string);
 		html_txt(show_date(time(NULL), 0, cgit_date_mode(DATE_ISO8601)));
 		html("</div>\n");
 	}


^ permalink raw reply	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2018-06-06 21:28 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-06-04 20:29 [PATCH 1/1] print git version string in footer list
2018-06-04 20:51 ` Jason
2018-06-04 20:59   ` list
2018-06-04 21:02   ` konstantin
2018-06-05 14:46 ` list
2018-06-05 15:08   ` [PATCH v2 " list
2018-06-06  6:24     ` [PATCH v3 " list
2018-06-06 12:34       ` Jason
2018-06-06 21:28         ` list

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).