From 9b14b0c159d64eae18e2732f1662fd27a72f8db1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Roman=20Smr=C5=BE?= Date: Sun, 12 Jan 2025 11:03:37 +0100 Subject: Handle duplicate tasks by matching tree id --- src/Repo.hs | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/Repo.hs') diff --git a/src/Repo.hs b/src/Repo.hs index c0500f3..1148972 100644 --- a/src/Repo.hs +++ b/src/Repo.hs @@ -40,11 +40,13 @@ data Commit = Commit newtype CommitId = CommitId ByteString + deriving (Eq, Ord) showCommitId :: CommitId -> String showCommitId (CommitId cid) = BC.unpack cid newtype TreeId = TreeId ByteString + deriving (Eq, Ord) showTreeId :: TreeId -> String showTreeId (TreeId tid) = BC.unpack tid -- cgit v1.2.3