Commit b25caf27ae76846de1bc4b3bb0d01fe6c677ee90 Parent: de9fb2f434c18bfc32559b70bab8625c6a523273 Author: mcol <mcol@posteo.net> Date: 2021-12-07 01:17:28 +0300 Committer: mcol <mcol@posteo.net> Committed: 2021-12-07 01:17:28 +0300 commit.diff should be pluralised
templates/docs/repo/commit.html Modified
@@ -13,7 +13,7 @@ {{ commit.message }} </pre> -{%- for diff in commit.diff -%} +{%- for diff in commit.diffs -%} <div class="diff"> <p> <b>{{ diff.new_file }}</b>
src/Types.hs Modified
@@ -108,7 +108,7 @@ "committed" -> Just . toGVal . show . Git.signatureWhen . Git.commitCommitter . commitGit $ commit "encoding" -> Just . toGVal . strip . Git.commitEncoding . commitGit $ commit "parent" -> toGVal . show . untag <$> (listToMaybe . Git.commitParents . commitGit $ commit) - "diff" -> Just . toGVal . commitDiffs $ commit + "diffs" -> Just . toGVal . commitDiffs $ commit _ -> Nothing {-