Tag GIT_VERSION when Git is built with MSVC
authorMarius Storm-Olsen <mstormo@gmail.com>
Wed, 16 Sep 2009 08:20:31 +0000 (10:20 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sat, 19 Sep 2009 03:00:42 +0000 (20:00 -0700)
This may help us debug issues on Windows, as we now can build Git
natively on Windows with both MinGW and MSVC.

Signed-off-by: Marius Storm-Olsen <mstormo@gmail.com>
Acked-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile

index dcc086ad494476b6702ac879a0b1f445e3d7b044..12defd4c971befd1d1f2648813e6914a93b4431c 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -877,6 +877,7 @@ ifneq (,$(findstring CYGWIN,$(uname_S)))
        UNRELIABLE_FSTAT = UnfortunatelyYes
 endif
 ifdef MSVC
+       GIT_VERSION := $(GIT_VERSION).MSVC
        pathsep = ;
        NO_PREAD = YesPlease
        NO_OPENSSL = YesPlease