Browse Source

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>
stable-4.9
Joan Goyeau 7 years ago
parent
commit
826e22e7cc
  1. 2
      org.eclipse.jgit/src/org/eclipse/jgit/util/FS_POSIX.java

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

Loading…
Cancel
Save