Skip to content

Commit df9b29c

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

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)