Skip to content

Commit f5c3178

Browse files
mstormogitster
authored andcommitted
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 <[email protected]> Acked-by: Johannes Sixt <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 259d87c commit f5c3178

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

Makefile

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -877,6 +877,7 @@ ifneq (,$(findstring CYGWIN,$(uname_S)))
877877
UNRELIABLE_FSTAT = UnfortunatelyYes
878878
endif
879879
ifdef MSVC
880+
GIT_VERSION := $(GIT_VERSION).MSVC
880881
pathsep = ;
881882
NO_PREAD = YesPlease
882883
NO_OPENSSL = YesPlease

0 commit comments

Comments
 (0)