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 committed Oct 22, 2019
2 parents 8612168 + 83d339a commit bc684d7
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 @@ -424,6 +424,11 @@ ifeq ($(uname_S),Windows)
NO_POSIX_GOODIES = UnfortunatelyYes
NATIVE_CRLF = 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 @@ -670,6 +675,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 bc684d7

Please sign in to comment.