summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2011-08-01 14:44:13 -0700
committerLibravatar Junio C Hamano <gitster@pobox.com>2011-08-01 14:44:13 -0700
commit6124690d5f004404325d5d41f7e4c8a78a08451e (patch)
treebdde6d38bcbed7c2eb779916d477600f19530c4d
parentMerge branch 'jc/legacy-loose-object' into maint (diff)
parentcygwin: trust executable bit by default (diff)
downloadtgif-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
-rw-r--r--compat/cygwin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compat/cygwin.c b/compat/cygwin.c
index b4a51b958c..ba3327f1f9 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)
{