Merge "Fix JGit set core.fileMode to false by default instead of true for non Windows OS."

This commit is contained in:
David Pursehouse 2017-08-25 20:58:07 -04:00 committed by Gerrit Code Review @ Eclipse.org
commit e237c28936
1 changed files with 1 additions and 1 deletions

View File

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