Browse Source

Fix JGit set core.fileMode to false by default instead of true for non Windows OS.

Issue 519887

Signed-off-by: Joan <joan@goyeau.com>
pull/52/head
Joan 6 years ago
parent
commit
453798dab4
1 changed files with 1 additions and 1 deletions
  1. 1
    1
      org.eclipse.jgit/src/org/eclipse/jgit/util/FS_POSIX.java

+ 1
- 1
org.eclipse.jgit/src/org/eclipse/jgit/util/FS_POSIX.java View File

@@ -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();

Loading…
Cancel
Save