Skip to content

Commit b152b03

Browse files
author
Edward Thomson
committed
meta: document version information for libgit2
1 parent 056fe4b commit b152b03

File tree

1 file changed

+20
-0
lines changed

1 file changed

+20
-0
lines changed

include/git2/version.h

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,33 @@
77
#ifndef INCLUDE_git_version_h__
88
#define INCLUDE_git_version_h__
99

10+
/**
11+
* The version string for libgit2. This string follows semantic
12+
* versioning (v2) guidelines.
13+
*/
1014
#define LIBGIT2_VERSION "1.5.0-alpha"
15+
16+
/** The major version number for this version of libgit2. */
1117
#define LIBGIT2_VER_MAJOR 1
18+
19+
/** The minor version number for this version of libgit2. */
1220
#define LIBGIT2_VER_MINOR 5
21+
22+
/** The revision ("teeny") version number for this version of libgit2. */
1323
#define LIBGIT2_VER_REVISION 0
24+
25+
/** The Windows DLL patch number for this version of libgit2. */
1426
#define LIBGIT2_VER_PATCH 0
27+
28+
/**
29+
* The prerelease string for this version of libgit2. For development
30+
* (nightly) builds, this will be "alpha". For prereleases, this will be
31+
* a prerelease name like "beta" or "rc1". For final releases, this will
32+
* be `NULL`.
33+
*/
1534
#define LIBGIT2_VER_PRERELEASE "alpha"
1635

36+
/** The library ABI soversion for this version of libgit2. */
1737
#define LIBGIT2_SOVERSION "1.5"
1838

1939
#endif

0 commit comments

Comments
 (0)