1#include "git-compat-util.h"
2#include "version.h"
34
const char git_version_string[] = GIT_VERSION;
56
const char *git_user_agent(void)
7{
8static const char *agent = NULL;
910
if (!agent) {
11agent = getenv("GIT_USER_AGENT");
12if (!agent)
13agent = GIT_USER_AGENT;
14}
1516
return agent;
17}