mirror of
https://github.com/scm-manager/scm-manager.git
synced 2025-11-06 13:35:44 +01:00
Fix optional mapping
This commit is contained in:
@@ -541,7 +541,7 @@ public final class GitUtil
|
||||
if (logger.isDebugEnabled()) {
|
||||
logger.debug("use {}:{} as repository head for directory {}",
|
||||
foundRef.map(GitUtil::getBranch).orElse(null),
|
||||
foundRef.map(Ref::getObjectId).orElse(null).name(),
|
||||
foundRef.map(Ref::getObjectId).map(ObjectId::name).orElse(null),
|
||||
repo.getDirectory());
|
||||
}
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user