diff options
author | Alexander Foremny <aforemny@posteo.de> | 2023-12-18 13:50:22 +0100 |
---|---|---|
committer | Alexander Foremny <aforemny@posteo.de> | 2024-03-25 07:42:51 +0100 |
commit | fc0afaaa273f5b5d3696df87d70d5347a13bb9ac (patch) | |
tree | a7e48842f71511f39a367e5dff84f41c02f3d859 /app/Git | |
parent | 812fcbadae72960d200286355c9aaecfbe350bf2 (diff) |
feat: compute history top to bottom
Disables caching.
Diffstat (limited to 'app/Git')
-rw-r--r-- | app/Git/CommitHash.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/Git/CommitHash.hs b/app/Git/CommitHash.hs index 0caecf4..f791af8 100644 --- a/app/Git/CommitHash.hs +++ b/app/Git/CommitHash.hs @@ -15,7 +15,7 @@ import Render qualified as P data CommitHash = WorkingTree | Commit T.Text - deriving (Eq, Show, Binary, Generic) + deriving (Eq, Ord, Show, Binary, Generic) toShortText :: CommitHash -> Maybe T.Text toShortText = fmap (T.take 7) . toText |