diff options
author | Joan Goyeau <joan@goyeau.com> | 2017-07-24 13:57:21 +0100 |
---|---|---|
committer | Joan Goyeau <joan@goyeau.com> | 2017-07-24 13:57:21 +0100 |
commit | 826e22e7cc005ca1f53dbd8c1de21e1d158d5b28 (patch) | |
tree | f0597ba4ec1e5a12d052b8935a5bb614d1e16676 | |
parent | 843e444561d6a2e82777bb553097f792274f53d2 (diff) | |
download | jgit-826e22e7cc005ca1f53dbd8c1de21e1d158d5b28.tar.gz jgit-826e22e7cc005ca1f53dbd8c1de21e1d158d5b28.zip |
Fix JGit set core.fileMode to false by default instead of true for non Windows OS.
Bug: 519887
Change-Id: I4ae0d6783a9dc62f78ead54ddd1ab2b5b66a811c
Signed-off-by: Joan Goyeau <joan@goyeau.com>
-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(); |