From 457cc50cf9cbf8906695758acadee4bf39a4eed8 Mon Sep 17 00:00:00 2001 From: Alexander Foremny Date: Tue, 28 Nov 2023 12:44:16 +0100 Subject: change provenance's hash form `Text` to `CommitHash` --- app/History/CommitHash.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'app/History/CommitHash.hs') diff --git a/app/History/CommitHash.hs b/app/History/CommitHash.hs index 3fcbb90..f1b8283 100644 --- a/app/History/CommitHash.hs +++ b/app/History/CommitHash.hs @@ -12,7 +12,7 @@ import GHC.Generics (Generic) data CommitHash = WorkingTree | Commit T.Text - deriving (Show, Binary, Generic) + deriving (Eq, Show, Binary, Generic) toShortText :: CommitHash -> T.Text toShortText WorkingTree = "" -- cgit v1.2.3