diff options
author | Alexander Foremny <aforemny@posteo.de> | 2024-03-14 07:07:28 +0100 |
---|---|---|
committer | Alexander Foremny <aforemny@posteo.de> | 2024-03-14 07:07:45 +0100 |
commit | 09e26c37de7e7227d856ffe15c9554af36b50c58 (patch) | |
tree | 553a527ff19f5ef105cbc2f026284e75fa5900db /app/Git/CommitHash.hs | |
parent | 8dcace960b25813b00e5f77be25aa7db57851f79 (diff) |
review: request-changes feature/review
Diffstat (limited to 'app/Git/CommitHash.hs')
-rw-r--r-- | app/Git/CommitHash.hs | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/app/Git/CommitHash.hs b/app/Git/CommitHash.hs index 28aa738..0caecf4 100644 --- a/app/Git/CommitHash.hs +++ b/app/Git/CommitHash.hs @@ -27,11 +27,6 @@ toText (Commit hash) = Just hash toTextUnsafe :: CommitHash -> T.Text toTextUnsafe (Commit hash) = hash toTextUnsafe _ = error "toTextUnsafe: WorkingDir" --- ^ REVIEW Why is this unsafe? --- --- REVIEW Because it is a partial function. --- --- RESOLVED instance P.Render CommitHash where render = P.render . P.Detailed |