| | |
| | | List<Metric> metrics = null;
|
| | | Metric metricsTotal = null;
|
| | | if (GitBlit.getBoolean(Keys.web.generateActivityGraph, true)) {
|
| | | metrics = MetricUtils.getDateMetrics(r, true);
|
| | | metrics = MetricUtils.getDateMetrics(r, true, null);
|
| | | metricsTotal = metrics.remove(0);
|
| | | }
|
| | |
|
| | |
| | | }
|
| | | }
|
| | | if (!StringUtils.isEmpty(readme)) {
|
| | | String markdownText = JGitUtils.getRawContentAsString(r, head, readme);
|
| | | String markdownText = JGitUtils.getStringContent(r, head.getTree(), readme);
|
| | | htmlText = MarkdownUtils.transformMarkdown(markdownText);
|
| | | }
|
| | | } catch (ParseException p) {
|