Skip to content

Commit

Permalink
Merge branch 'jc/maint-cygwin-trust-executable-bit-default' into maint
Browse files Browse the repository at this point in the history
* jc/maint-cygwin-trust-executable-bit-default:
  cygwin: trust executable bit by default
  • Loading branch information
gitster committed Aug 1, 2011
2 parents d48929e + 085479e commit 6124690
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compat/cygwin.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
{
Expand Down

0 comments on commit 6124690

Please sign in to comment.