mirror of
https://github.com/scm-manager/scm-manager.git
synced 2026-03-04 19:30:51 +01:00
Add logging for git browse command (#2140)
Co-authored-by: René Pfeuffer <rene.pfeuffer@cloudogu.com>
This commit is contained in:
@@ -91,6 +91,7 @@ public class GitCatCommand extends AbstractGitCommand implements CatCommand {
|
||||
private Loader getLoader(CatCommandRequest request) throws IOException {
|
||||
org.eclipse.jgit.lib.Repository repo = open();
|
||||
ObjectId revId = getCommitOrDefault(repo, request.getRevision());
|
||||
logger.info("loading content for file {} for revision {} in repository {}", request.getPath(), revId, repository);
|
||||
return getLoader(repo, revId, request.getPath());
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user