aboutsummaryrefslogtreecommitdiffstats
path: root/app/Git/CommitHash.hs
diff options
context:
space:
mode:
authorLibravatar Fabian Kirchner <kirchner@posteo.de>2024-03-06 13:47:17 +0100
committerLibravatar Alexander Foremny <aforemny@posteo.de>2024-03-14 07:07:45 +0100
commita2f401ca9839b6041b7d94f77de4530f168b12ad (patch)
treea9068a88246373aee3c8d54c66369beadf074908 /app/Git/CommitHash.hs
parentf92c593a3d2c4bdb023fdd834b6e8c874d063cc8 (diff)
review(feature/review): approve
lgtm, possible splitting some non-business-logic stuff into separate commits would be nice commit 9a49ec0dcd6f75736949350844f85d80fe48a662
Diffstat (limited to 'app/Git/CommitHash.hs')
-rw-r--r--app/Git/CommitHash.hs1
1 files changed, 1 insertions, 0 deletions
diff --git a/app/Git/CommitHash.hs b/app/Git/CommitHash.hs
index 0caecf4..c53e2d8 100644
--- a/app/Git/CommitHash.hs
+++ b/app/Git/CommitHash.hs
@@ -28,6 +28,7 @@ toTextUnsafe :: CommitHash -> T.Text
toTextUnsafe (Commit hash) = hash
toTextUnsafe _ = error "toTextUnsafe: WorkingDir"
+-- REVIEW Why is this unsafe?
instance P.Render CommitHash where
render = P.render . P.Detailed