diff options
author | David Pursehouse <david.pursehouse@gmail.com> | 2017-08-25 20:58:07 -0400 |
---|---|---|
committer | Gerrit Code Review @ Eclipse.org <gerrit@eclipse.org> | 2017-08-25 20:58:07 -0400 |
commit | e237c289369ff4e30dbc0e0f3fe6e7e097086c63 (patch) | |
tree | 22840695cb771bbb9633adf89f05c0e1b20f4387 | |
parent | 40f40e496a9da2c41692c990a733be28e7bd819b (diff) | |
parent | 826e22e7cc005ca1f53dbd8c1de21e1d158d5b28 (diff) | |
download | jgit-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.java | 2 |
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(); |