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