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))
|
if (!isFile(f))
|
||||||
return false;
|
return false;
|
||||||
if (!canExecute)
|
if (!canExecute)
|
||||||
return f.setExecutable(false);
|
return f.setExecutable(false, false);
|
||||||
|
|
||||||
try {
|
try {
|
||||||
Path path = f.toPath();
|
Path path = f.toPath();
|
||||||
|
|
Loading…
Reference in New Issue