From 123f044ceeac25ea8cd0dd766cb20b74005021fc Mon Sep 17 00:00:00 2001 From: Christian Hesse Date: Mon, 4 Jun 2018 22:27:46 +0200 Subject: print git version string in footer --- 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[] = "\n"; @@ -785,8 +786,8 @@ void cgit_print_docend(void) if (ctx.cfg.footer) html_include(ctx.cfg.footer); else { - htmlf("