diff options
author | Roman Smrž <roman.smrz@seznam.cz> | 2025-01-12 11:03:37 +0100 |
---|---|---|
committer | Roman Smrž <roman.smrz@seznam.cz> | 2025-01-13 21:22:52 +0100 |
commit | 9b14b0c159d64eae18e2732f1662fd27a72f8db1 (patch) | |
tree | ff5f61b29c3298537fbaaec2a2fcc1a2be34c2e1 /src/Repo.hs | |
parent | 17998a5e8d386b58d30d138ea8dbc565955cccc6 (diff) |
Handle duplicate tasks by matching tree id
Diffstat (limited to 'src/Repo.hs')
-rw-r--r-- | src/Repo.hs | 2 |
1 files changed, 2 insertions, 0 deletions
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 |