Merge branch 'tr/maint-show-walk'
[git/raj.git] / version.c
blobf98d5a654d4a17a9d85157b33f161afe6951a6e8
1 #include "git-compat-util.h"
2 #include "version.h"
4 const char git_version_string[] = GIT_VERSION;
6 const char *git_user_agent(void)
8 static const char *agent = NULL;
10 if (!agent) {
11 agent = getenv("GIT_USER_AGENT");
12 if (!agent)
13 agent = GIT_USER_AGENT;
16 return agent;