From 54f78e712baafa9ab6072508e004b2b6bf6430f8 Mon Sep 17 00:00:00 2001 From: Christoph Schlosser Date: Sun, 24 Aug 2025 18:19:13 +0200 Subject: g2h: Link to commit pages from commit log --- g2h/log_page.py | 2 ++ 1 file changed, 2 insertions(+) (limited to 'g2h/log_page.py') diff --git a/g2h/log_page.py b/g2h/log_page.py index 9a3d64f..4b8ee10 100644 --- a/g2h/log_page.py +++ b/g2h/log_page.py @@ -25,6 +25,7 @@ class LogPage(Page): refs = ref_names_for_commit(self.branches, commit.hexsha) + ref_names_for_commit(self.tags, commit.hexsha) commit_context = { 'committed_datetime': commit.committed_datetime, + 'hexsha': commit.hexsha, 'refs': refs, 'summary': commit.summary } @@ -38,6 +39,7 @@ class LogPage(Page): return { 'commits': commits_context, + 'content_subdir': self.content_subdir, 'title': self.name + ': Log' } -- cgit v1.2.3