mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-12-29 03:39:48 +01:00
Without this on creation of a tree entry we try to read the object for the given object id, but in case of a submodule this is not the id of an object (the constructor of TreeEntry calls repo.open(objectId)). Therefore the lookup creates an exception. With this fix we check, whether the given path is a submodule beforehand.