Skip to content

Commit 49d279f

Browse files
dschogitster
authored andcommitted
windows: include the Python bits when building Git for Windows
While Git for Windows does not _ship_ Python (in order to save on bandwidth), MSYS2 provides very fine Python interpreters that users can easily take advantage of, by using Git for Windows within its SDK. Previously, we excluded the Python bits, mostly due to historical reasons: In the Git for Windows v1.x days, we built Git using MSys/MinGW, without support for any Python scripts. Therefore, let's move out the `NO_PYTHON` definition from the generic part of the MINGW section (which includes special handling for MSYS2/Git for Windows, for the long-superseded msysGit environment, as well as for the setup of probably just one developer remaining with their MSys1) into the two sections that cover different environments than Git for Windows' SDK. Signed-off-by: Johannes Schindelin <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 00d1260 commit 49d279f

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

config.mak.uname

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -656,7 +656,6 @@ ifeq ($(uname_S),MINGW)
656656
UNRELIABLE_FSTAT = UnfortunatelyYes
657657
OBJECT_CREATION_USES_RENAMES = UnfortunatelyNeedsTo
658658
NO_REGEX = YesPlease
659-
NO_PYTHON = YesPlease
660659
ETAGS_TARGET = ETAGS
661660
NO_POSIX_GOODIES = UnfortunatelyYes
662661
DEFAULT_HELP_FORMAT = html
@@ -686,6 +685,7 @@ ifneq (,$(wildcard ../THIS_IS_MSYSGIT))
686685
INTERNAL_QSORT = YesPlease
687686
HAVE_LIBCHARSET_H = YesPlease
688687
NO_GETTEXT = YesPlease
688+
NO_PYTHON = YesPlease
689689
COMPAT_CFLAGS += -D__USE_MINGW_ACCESS
690690
else
691691
ifneq ($(shell expr "$(uname_R)" : '1\.'),2)
@@ -730,6 +730,7 @@ else
730730
else
731731
COMPAT_CFLAGS += -D__USE_MINGW_ANSI_STDIO
732732
NO_CURL = YesPlease
733+
NO_PYTHON = YesPlease
733734
endif
734735
endif
735736
endif

0 commit comments

Comments
 (0)