Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2012-06-02 22:51:42 +0400
committerJunio C Hamano <gitster@pobox.com>2012-06-04 00:11:34 +0400
commit816fb46be665c8b63647f0096845fef363736b20 (patch)
tree4a8921bb8bfadd1916a7a31c1b7b9e9726e98a8a /version.c
parent5498c5f05283cd248fd5e4f48cb8902e9ca6ce28 (diff)
move git_version_string into version.c
The global git_version_string currently lives in git.c, but doesn't have anything to do with the git wrapper. Let's move it into its own file, where it will be more appropriate to build more version-related functions. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'version.c')
-rw-r--r--version.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/version.c b/version.c
new file mode 100644
index 0000000000..ca68653865
--- /dev/null
+++ b/version.c
@@ -0,0 +1,4 @@
+#include "git-compat-util.h"
+#include "version.h"
+
+const char git_version_string[] = GIT_VERSION;