Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
tree: 425b8a22aa
Fetching contributors…

Octocat-spinner-32-eaf2f5

Cannot retrieve contributors at this time

file 18 lines (13 sloc) 0.282 kb
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17
#include "git-compat-util.h"
#include "version.h"

const char git_version_string[] = GIT_VERSION;

const char *git_user_agent(void)
{
static const char *agent = NULL;

if (!agent) {
agent = getenv("GIT_USER_AGENT");
if (!agent)
agent = GIT_USER_AGENT;
}

return agent;
}
Something went wrong with that request. Please try again.