aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarius Storm-Olsen <mstormo@gmail.com>2009-09-16 10:20:31 +0200
committerJunio C Hamano <gitster@pobox.com>2009-09-18 20:00:42 -0700
commitf5c3178151e3963cc8cf73fdc200831850b7a632 (patch)
tree95f5f3b430d1fc108bdc6dce3f047cb49e584faf
parent259d87c354954e8ee3b241dce1393c27186e8ee7 (diff)
downloadgit-f5c3178151e3963cc8cf73fdc200831850b7a632.tar.gz
git-f5c3178151e3963cc8cf73fdc200831850b7a632.tar.xz
Tag GIT_VERSION when Git is built with MSVC
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>
-rw-r--r--Makefile1
1 files changed, 1 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index dcc086ad4..12defd4c9 100644
--- 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