summaryrefslogtreecommitdiff
path: root/compat/cygwin.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-07-13 21:31:36 (GMT)
committerJunio C Hamano <gitster@pobox.com>2011-07-13 21:31:36 (GMT)
commitdf9b29ce82ba24729d5431f5e9751470e3a44f25 (patch)
tree7e92e930bf8bc259f8a1e9a8a57f05e09fbd4b33 /compat/cygwin.c
parent23f229d8cd02eb933512637b617be5ea85d4a608 (diff)
parent085479e7001b6feb7e9be02e77d84e27be796774 (diff)
downloadgit-df9b29ce82ba24729d5431f5e9751470e3a44f25.zip
git-df9b29ce82ba24729d5431f5e9751470e3a44f25.tar.gz
git-df9b29ce82ba24729d5431f5e9751470e3a44f25.tar.bz2
Merge branch 'jc/maint-cygwin-trust-executable-bit-default'
* jc/maint-cygwin-trust-executable-bit-default: cygwin: trust executable bit by default
Diffstat (limited to 'compat/cygwin.c')
-rw-r--r--compat/cygwin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/cygwin.c b/compat/cygwin.c
index b38dbd7..dfe9b30 100644
--- a/compat/cygwin.c
+++ b/compat/cygwin.c
@@ -101,7 +101,7 @@ static int cygwin_stat(const char *path, struct stat *buf)
* and calling git_default_config() from here would break such variables.
*/
static int native_stat = 1;
-static int core_filemode;
+static int core_filemode = 1; /* matches trust_executable_bit default */
static int git_cygwin_config(const char *var, const char *value, void *cb)
{