Andrew's git
/
gitweb.git
/ diff
summary
|
log
|
commit
| diff |
tree
commit
grep
author
committer
pickaxe
?
re
Merge branch 'jc/maint-cygwin-trust-executable-bit-default' into maint
author
Junio C Hamano
<gitster@pobox.com>
Mon, 1 Aug 2011 21:44:13 +0000
(14:44 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Mon, 1 Aug 2011 21:44:13 +0000
(14:44 -0700)
* jc/maint-cygwin-trust-executable-bit-default:
cygwin: trust executable bit by default
compat/cygwin.c
patch
|
blob
|
history
raw
(from parent 1:
d48929e
)
diff --git
a/compat/cygwin.c
b/compat/cygwin.c
index b4a51b958c5651d3b509013aaef0c4e30b68a816..ba3327f1f96922c91a4e3f0094c0fa10cde0301e 100644
(file)
--- 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)
{