Merge branch 'stable-2.13'

* stable-2.13:
  LocalDiskRepositoryManager: Handle failure to visit file/path
  Update git submodules

Change-Id: I003ca763a6733fd663af515a04528405789d81f4
This commit is contained in:
David Pursehouse
2017-03-06 16:44:56 +09:00

View File

@@ -342,6 +342,12 @@ public class LocalDiskRepositoryManager implements GitRepositoryManager {
return FileVisitResult.CONTINUE;
}
@Override
public FileVisitResult visitFileFailed(Path file, IOException e) {
log.warn(e.getMessage());
return FileVisitResult.CONTINUE;
}
private boolean isRepo(Path p) {
String name = p.getFileName().toString();
return !name.equals(Constants.DOT_GIT)