summaryrefslogtreecommitdiffstats
path: root/builtin
diff options
context:
space:
mode:
authorJeff King <peff@peff.net>2012-06-02 20:51:42 +0200
committerJunio C Hamano <gitster@pobox.com>2012-06-03 22:11:34 +0200
commit816fb46be665c8b63647f0096845fef363736b20 (patch)
tree4a8921bb8bfadd1916a7a31c1b7b9e9726e98a8a /builtin
parentUpdate draft release notes to 1.7.11 (diff)
downloadgit-816fb46be665c8b63647f0096845fef363736b20.tar.xz
git-816fb46be665c8b63647f0096845fef363736b20.zip
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 'builtin')
-rw-r--r--builtin/log.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/builtin/log.c b/builtin/log.c
index 906dca475a..4f1b42a685 100644
--- a/builtin/log.c
+++ b/builtin/log.c
@@ -21,6 +21,7 @@
#include "parse-options.h"
#include "branch.h"
#include "streaming.h"
+#include "version.h"
/* Set a default date-time format for git log ("log.date" config variable) */
static const char *default_date_mode = NULL;