summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2011-08-01 21:44:13 (GMT)
committerJunio C Hamano <gitster@pobox.com>2011-08-01 21:44:13 (GMT)
commit6124690d5f004404325d5d41f7e4c8a78a08451e (patch)
treebdde6d38bcbed7c2eb779916d477600f19530c4d
parentd48929e1c39a01cf2d909ba140110df481c8912d (diff)
parent085479e7001b6feb7e9be02e77d84e27be796774 (diff)
downloadgit-6124690d5f004404325d5d41f7e4c8a78a08451e.zip
git-6124690d5f004404325d5d41f7e4c8a78a08451e.tar.gz
git-6124690d5f004404325d5d41f7e4c8a78a08451e.tar.bz2
Merge branch 'jc/maint-cygwin-trust-executable-bit-default' into maint
* jc/maint-cygwin-trust-executable-bit-default: cygwin: trust executable bit by default
-rw-r--r--compat/cygwin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/cygwin.c b/compat/cygwin.c
index b4a51b9..ba3327f 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)
{