]> Kevux Git Server - rit/commitdiff
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 dcc086a..12defd4 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