summaryrefslogtreecommitdiff
path: root/compat/mkdtemp.c
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2011-06-20 12:31:59 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-06-20 13:09:04 -0700
commit085479e7001b6feb7e9be02e77d84e27be796774 (patch)
tree79ac03db029aec24eba22a5cc050b85047537977 /compat/mkdtemp.c
parentbuiltin/gc.c: add missing newline in message (diff)
downloadtgif-085479e7001b6feb7e9be02e77d84e27be796774.tar.xz
cygwin: trust executable bit by default
Earlier 7974843 (compat/cygwin.c: make runtime detection of lstat/stat lessor impact, 2008-10-23) fixed the low-level "do we use cygwin specific hacks for stat/lstat?" logic not to call into git_default_config() from random codepaths that are typically very late in the program, to prevent the call from potentially overwriting other variables that are initialized from the configuration. However, it forgot that on Cygwin, trust-executable-bit should default to true. Noticed by J6t, confirmed by Ramsay Jones, and the brown paper bag is on Gitster's head. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'compat/mkdtemp.c')
0 files changed, 0 insertions, 0 deletions