From f69250358a74efa5d7d9c562b2cdd80fad1430f1 Mon Sep 17 00:00:00 2001 From: Lars Hjemli Date: Mon, 18 Jun 2007 09:42:10 +0200 Subject: Add version info from git-describe A new script, gen-version.sh, is now invoked from 'make version' to generate the file VERSION. This file contains a version identifier generated by git-describe and is included in the Makefile. Signed-off-by: Lars Hjemli --- cgit.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'cgit.h') diff --git a/cgit.h b/cgit.h index bd2dd0d..9558362 100644 --- a/cgit.h +++ b/cgit.h @@ -98,7 +98,7 @@ struct taginfo { char *msg; }; -extern const char cgit_version[]; +extern const char *cgit_version; extern struct repolist cgit_repolist; extern struct repoinfo *cgit_repo; -- cgit v1.2.3-70-g09d2