Raw
1 #ifndef VERSION_H
2 #define VERSION_H
3
4 extern const char git_version_string[];
5 extern const char git_built_from_commit_string[];
6
7 const char *git_user_agent(void);
8 const char *git_user_agent_sanitized(void);
9
10 /*
11 Try to get information about the system using uname(2).
12 Return -1 and put an error message into 'buf' in case of uname()
13 error. Return 0 and put uname info into 'buf' otherwise.
14 */
15 int get_uname_info(struct strbuf *buf, unsigned int full);
16
17
18 #endif /* VERSION_H */