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:
@@ -342,6 +342,12 @@ public class LocalDiskRepositoryManager implements GitRepositoryManager {
|
|||||||
return FileVisitResult.CONTINUE;
|
return FileVisitResult.CONTINUE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public FileVisitResult visitFileFailed(Path file, IOException e) {
|
||||||
|
log.warn(e.getMessage());
|
||||||
|
return FileVisitResult.CONTINUE;
|
||||||
|
}
|
||||||
|
|
||||||
private boolean isRepo(Path p) {
|
private boolean isRepo(Path p) {
|
||||||
String name = p.getFileName().toString();
|
String name = p.getFileName().toString();
|
||||||
return !name.equals(Constants.DOT_GIT)
|
return !name.equals(Constants.DOT_GIT)
|
||||||
|
|||||||
Reference in New Issue
Block a user