fix(repository): display the right commit history given URL ref@@ -43,7 +43,11 @@ const getRepositoryCommitsLogView: ReqHandler = async (request, reply) => {
}
}
- const history = await repoService.getRepositoryCommitLog(repo);
+ const history = await repoService.getRepositoryCommitLog(
+ repo,
+ undefined,
+ currentRef
+ );
const reqHandler = reply.makeRequestHandler(request, reply);
return reqHandler<RepositoryCommitsLogViewProps>(