浏览代码

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 年前
父节点
当前提交
453798dab4
共有 1 个文件被更改,包括 1 次插入1 次删除
  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 查看文件

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

正在加载...
取消
保存