diff options
Diffstat (limited to '')
-rw-r--r--source/cgit.c2
1 file changed, 2 insertions, 0 deletions
diff --git a/source/cgit.c b/source/cgit.c
index 5f8ecfa..a877e92 100644
--- a/source/cgit.c
+++ b/source/cgit.c
@@ -54,6 +54,8 @@ struct refmatch {
int found;
};
+const char *cgit_version = CGIT_VERSION;
+
/*
* Isolate git from the calling user's configuration, which could otherwise
* break once HOME is unset below. It runs as a constructor because git reads