summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@dwim.me>2015-03-02 21:03:57 +0100
committerCarlos Martín Nieto <cmn@dwim.me>2015-03-02 21:03:57 +0100
commitbf410446ddd651ba15f10730844b19b53a579763 (patch)
tree86c4cb5a08f5b3c78c9241ec616f543398a869bb
parentc23002c5608037957faf13e21adeb214b01fe30e (diff)
parentbf1476f190738ac825531f91bd7310205995e199 (diff)
downloadlibgit2-bf410446ddd651ba15f10730844b19b53a579763.tar.gz
Merge pull request #2935 from ethomson/dll_patchlevel
win32: add the patch level to the .dll fileversion
-rw-r--r--include/git2/version.h1
-rw-r--r--src/win32/git2.rc4
2 files changed, 3 insertions, 2 deletions
diff --git a/include/git2/version.h b/include/git2/version.h
index a330685e0..456bbe258 100644
--- a/include/git2/version.h
+++ b/include/git2/version.h
@@ -11,6 +11,7 @@
#define LIBGIT2_VER_MAJOR 0
#define LIBGIT2_VER_MINOR 22
#define LIBGIT2_VER_REVISION 0
+#define LIBGIT2_VER_PATCH 0
#define LIBGIT2_SOVERSION 22
diff --git a/src/win32/git2.rc b/src/win32/git2.rc
index 22c63f695..b2e59807b 100644
--- a/src/win32/git2.rc
+++ b/src/win32/git2.rc
@@ -6,8 +6,8 @@
#endif
VS_VERSION_INFO VERSIONINFO MOVEABLE IMPURE LOADONCALL DISCARDABLE
- FILEVERSION LIBGIT2_VER_MAJOR,LIBGIT2_VER_MINOR,LIBGIT2_VER_REVISION,0
- PRODUCTVERSION LIBGIT2_VER_MAJOR,LIBGIT2_VER_MINOR,LIBGIT2_VER_REVISION,0
+ FILEVERSION LIBGIT2_VER_MAJOR,LIBGIT2_VER_MINOR,LIBGIT2_VER_REVISION,LIBGIT2_VER_PATCH
+ PRODUCTVERSION LIBGIT2_VER_MAJOR,LIBGIT2_VER_MINOR,LIBGIT2_VER_REVISION,LIBGIT2_VER_PATCH
FILEFLAGSMASK VS_FFI_FILEFLAGSMASK
#ifdef _DEBUG
FILEFLAGS VS_FF_DEBUG