summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Pursehouse <david.pursehouse@gmail.com>2017-08-25 20:58:07 -0400
committerGerrit Code Review @ Eclipse.org <gerrit@eclipse.org>2017-08-25 20:58:07 -0400
commite237c289369ff4e30dbc0e0f3fe6e7e097086c63 (patch)
tree22840695cb771bbb9633adf89f05c0e1b20f4387
parent40f40e496a9da2c41692c990a733be28e7bd819b (diff)
parent826e22e7cc005ca1f53dbd8c1de21e1d158d5b28 (diff)
downloadjgit-e237c289369ff4e30dbc0e0f3fe6e7e097086c63.tar.gz
jgit-e237c289369ff4e30dbc0e0f3fe6e7e097086c63.zip
Merge "Fix JGit set core.fileMode to false by default instead of true for non Windows OS."
-rw-r--r--org.eclipse.jgit/src/org/eclipse/jgit/util/FS_POSIX.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/org.eclipse.jgit/src/org/eclipse/jgit/util/FS_POSIX.java b/org.eclipse.jgit/src/org/eclipse/jgit/util/FS_POSIX.java
index 0780d2b560..2d58a0241c 100644
--- a/org.eclipse.jgit/src/org/eclipse/jgit/util/FS_POSIX.java
+++ b/org.eclipse.jgit/src/org/eclipse/jgit/util/FS_POSIX.java
@@ -188,7 +188,7 @@ public class FS_POSIX extends FS {
if (!isFile(f))
return false;
if (!canExecute)
- return f.setExecutable(false);
+ return f.setExecutable(false, false);
try {
Path path = f.toPath();