aboutsummaryrefslogtreecommitdiff
path: root/compat
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-08-01 14:44:13 -0700
committerJunio C Hamano <gitster@pobox.com>2011-08-01 14:44:13 -0700
commit6124690d5f004404325d5d41f7e4c8a78a08451e (patch)
treebdde6d38bcbed7c2eb779916d477600f19530c4d /compat
parentd48929e1c39a01cf2d909ba140110df481c8912d (diff)
parent085479e7001b6feb7e9be02e77d84e27be796774 (diff)
downloadgit-6124690d5f004404325d5d41f7e4c8a78a08451e.tar.gz
git-6124690d5f004404325d5d41f7e4c8a78a08451e.tar.xz
Merge branch 'jc/maint-cygwin-trust-executable-bit-default' into maint
* jc/maint-cygwin-trust-executable-bit-default: cygwin: trust executable bit by default
Diffstat (limited to 'compat')
-rw-r--r--compat/cygwin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/cygwin.c b/compat/cygwin.c
index b4a51b958..ba3327f1f 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)
{