diff options
author | Karsten Blees <blees@dcon.de> | 2011-01-07 19:52:20 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-06-16 10:56:47 -0700 |
commit | 5901dc6613fcb5e4a4c49e09992a13a4840edb48 (patch) | |
tree | e75e3ed8088ede20908bdaf0c6be25c219e680d4 /compat/mmap.c | |
parent | Win32: fix potential multi-threading issue (diff) | |
download | tgif-5901dc6613fcb5e4a4c49e09992a13a4840edb48.tar.xz |
MinGW: disable CRT command line globbing
MingwRT listens to _CRT_glob to decide if __getmainargs should
perform globbing, with the default being that it should.
Unfortunately, __getmainargs globbing is sub-par; for instance
patterns like "*.c" will only match c-sources in the current
directory.
Disable __getmainargs' command line wildcard expansion, so these
patterns will be left untouched, and handled by Git's superior
built-in globbing instead.
MSVC defaults to no globbing, so we don't need to do anything
in that case.
This fixes t5505 and t7810.
Signed-off-by: Karsten Blees <blees@dcon.de>
Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>
Signed-off-by: Stepan Kasal <kasal@ucw.cz>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/mmap.c')
0 files changed, 0 insertions, 0 deletions