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'
author
Junio C Hamano
<gitster@pobox.com>
Wed, 13 Jul 2011 21:31:36 +0000
(14:31 -0700)
committer
Junio C Hamano
<gitster@pobox.com>
Wed, 13 Jul 2011 21:31:36 +0000
(14:31 -0700)
* jc/maint-cygwin-trust-executable-bit-default:
cygwin: trust executable bit by default
compat/cygwin.c
patch
|
blob
|
history
raw
(from parent 1:
23f229d
)
diff --git
a/compat/cygwin.c
b/compat/cygwin.c
index b38dbd7f8fb557b3cf70aef29ec173afc106d5fc..dfe9b3084ffbfd6c41a648e32a1857e78b566215 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)
{