diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-06-21 14:42:01 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-06-21 14:42:01 -0700 |
commit | 9d8d51d53b53e32bd2b642676f6f1798e2a0897b (patch) | |
tree | 5d72f251281567965c7defac9ebcd67c9f29c79e /version.h | |
parent | Merge branch 'jc/request-pull-match-tagname' (diff) | |
parent | http: get default user-agent from git_user_agent (diff) | |
download | tgif-9d8d51d53b53e32bd2b642676f6f1798e2a0897b.tar.xz |
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 'version.h')
-rw-r--r-- | version.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/version.h b/version.h new file mode 100644 index 0000000000..fd9cdd6316 --- /dev/null +++ b/version.h @@ -0,0 +1,8 @@ +#ifndef VERSION_H +#define VERSION_H + +extern const char git_version_string[]; + +const char *git_user_agent(void); + +#endif /* VERSION_H */ |