Skip to content

Commit 6124690

Browse files
committed
Merge branch 'jc/maint-cygwin-trust-executable-bit-default' into maint
* jc/maint-cygwin-trust-executable-bit-default: cygwin: trust executable bit by default
2 parents d48929e + 085479e commit 6124690

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compat/cygwin.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -101,7 +101,7 @@ static int cygwin_stat(const char *path, struct stat *buf)
101101
* and calling git_default_config() from here would break such variables.
102102
*/
103103
static int native_stat = 1;
104-
static int core_filemode;
104+
static int core_filemode = 1; /* matches trust_executable_bit default */
105105

106106
static int git_cygwin_config(const char *var, const char *value, void *cb)
107107
{

0 commit comments

Comments
 (0)