The sixteenth batch
[git/gitster.git] / version.h
blobbbde6d371affb7d9f54b83431ae3769253a0c3e7
1 #ifndef VERSION_H
2 #define VERSION_H
4 struct repository;
6 extern const char git_version_string[];
7 extern const char git_built_from_commit_string[];
9 const char *git_user_agent(void);
10 const char *git_user_agent_sanitized(void);
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.
17 int get_uname_info(struct strbuf *buf, unsigned int full);
20 #endif /* VERSION_H */