Skip to content

Commit

Permalink
Merge pull request #2358 from dscho/reconcile-system-config-and-progr…
Browse files Browse the repository at this point in the history
…amdata-config

Make `git config --system` work like you think it should on Windows
  • Loading branch information
dscho authored and Git for Windows Build Agent committed Oct 21, 2019
2 parents 016facb + 8afdb3d commit d6d4eb5
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions config.mak.uname
Original file line number Diff line number Diff line change
Expand Up @@ -425,6 +425,11 @@ ifeq ($(uname_S),Windows)
NATIVE_CRLF = YesPlease
INTERNAL_QSORT = YesPlease
DEFAULT_HELP_FORMAT = html
ifeq (/mingw64,$(subst 32,64,$(prefix)))
# Move system config into top-level /etc/
ETC_GITCONFIG = ../etc/gitconfig
ETC_GITATTRIBUTES = ../etc/gitattributes
endif

CC = compat/vcbuild/scripts/clink.pl
AR = compat/vcbuild/scripts/lib.pl
Expand Down Expand Up @@ -671,6 +676,11 @@ else
NO_CURL =
USE_NED_ALLOCATOR = YesPlease
NO_PYTHON =
ifeq (/mingw64,$(subst 32,64,$(prefix)))
# Move system config into top-level /etc/
ETC_GITCONFIG = ../etc/gitconfig
ETC_GITATTRIBUTES = ../etc/gitattributes
endif
else
COMPAT_CFLAGS += -D__USE_MINGW_ANSI_STDIO
NO_CURL = YesPlease
Expand Down

0 comments on commit d6d4eb5

Please sign in to comment.