Merge "Fix JGit set core.fileMode to false by default instead of true for non Windows OS."
This commit is contained in:
commit
e237c28936
|
@ -188,7 +188,7 @@ public boolean setExecute(File f, boolean canExecute) {
|
|||
if (!isFile(f))
|
||||
return false;
|
||||
if (!canExecute)
|
||||
return f.setExecutable(false);
|
||||
return f.setExecutable(false, false);
|
||||
|
||||
try {
|
||||
Path path = f.toPath();
|
||||
|
|
Loading…
Reference in New Issue