summaryrefslogtreecommitdiff
path: root/builtin
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2012-06-21 14:42:01 -0700
committerJunio C Hamano <gitster@pobox.com>2012-06-21 14:42:01 -0700
commit9d8d51d53b53e32bd2b642676f6f1798e2a0897b (patch)
tree5d72f251281567965c7defac9ebcd67c9f29c79e /builtin
parent2b022f62ab26be1a51b1be9c76f3e73e3a5a2b38 (diff)
parent745c7c8e6252ba41430a1442e1fa8da2ec40e9c2 (diff)
downloadgit-9d8d51d53b53e32bd2b642676f6f1798e2a0897b.tar.gz
Merge branch 'jk/version-string'
Teaches git native protocol agents to show software version over the wire. * jk/version-string: http: get default user-agent from git_user_agent version: add git_user_agent function move git_version_string into version.c
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;