瀏覽代碼

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

Loading…
取消
儲存