From 0a9a3ed1c378fba6b458ac45ea855da2f7d80f3c Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Fri, 15 May 2020 14:31:50 -0400 Subject: [PATCH] left an unhandled case in previous commit --- Annex/Ingest.hs | 1 + 1 file changed, 1 insertion(+) diff --git a/Annex/Ingest.hs b/Annex/Ingest.hs index 9a2438dd2a..d265403049 100644 --- a/Annex/Ingest.hs +++ b/Annex/Ingest.hs @@ -172,6 +172,7 @@ ingest' preferredbackend meterupdate (Just (LockedDown cfg source)) mk restage = go key mcache (Just s) | lockingFile cfg = golocked key mcache s | otherwise = gounlocked key mcache s + go _ _ Nothing = failure "failed to generate a key" golocked key mcache s = tryNonAsync (moveAnnex key $ fromRawFilePath $ contentLocation source) >>= \case