summaryrefslogtreecommitdiff
path: root/version.h
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2012-06-21 14:42:01 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2012-06-21 14:42:01 -0700
commit9d8d51d53b53e32bd2b642676f6f1798e2a0897b (patch)
tree5d72f251281567965c7defac9ebcd67c9f29c79e /version.h
parentMerge branch 'jc/request-pull-match-tagname' (diff)
parenthttp: get default user-agent from git_user_agent (diff)
downloadtgif-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.h8
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 */