From 2abda21123dae27ded87c17bea4f3fe3f41f36d9 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 15 Dec 2020 16:35:06 -0400 Subject: [PATCH] update --- Command/Move.hs | 2 +- .../comment_3_93892ef71d40f0b10e5fdcb703faf3ad._comment | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/Command/Move.hs b/Command/Move.hs index 584565648a..cc2db5de79 100644 --- a/Command/Move.hs +++ b/Command/Move.hs @@ -210,7 +210,7 @@ fromOk :: Remote -> Key -> Annex Bool fromOk src key -- check if the remote contains the key, when it can be done cheaply | Remote.hasKeyCheap src = - Remote.hasKey src key >>= + Remote.hasKey src key >>= \case Right True -> return True -- Don't skip getting the key just because the -- remote no longer contains it if the log diff --git a/doc/todo/add_xxHash_backend/comment_3_93892ef71d40f0b10e5fdcb703faf3ad._comment b/doc/todo/add_xxHash_backend/comment_3_93892ef71d40f0b10e5fdcb703faf3ad._comment index 2b38d30ec6..bf60981f8e 100644 --- a/doc/todo/add_xxHash_backend/comment_3_93892ef71d40f0b10e5fdcb703faf3ad._comment +++ b/doc/todo/add_xxHash_backend/comment_3_93892ef71d40f0b10e5fdcb703faf3ad._comment @@ -10,6 +10,8 @@ Would need haskell library, http://hackage.haskell.org/package/xxhash is out of date. It would probably not be hard to make a xxh3 haskell library, but I'm inclined to wait for someone who really wants it. +Debian already has it in libxxhash0. + Interestingly, the ghc RTS uses xxhash and recently updated to xxh3. https://gitlab.haskell.org/ghc/ghc/-/merge_requests/4248 But I don't think that's exposed to haskell code.