From 0acbbf208f5405d9bf35795b756f5d5c90c014e1 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 14 Jan 2019 13:22:33 -0400 Subject: [PATCH] use fileKey here This doesn't change behavior in any way worth mentioning, but it's the right thing to do. --- Command/Fsck.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Command/Fsck.hs b/Command/Fsck.hs index 066e89bb56..81c5c26591 100644 --- a/Command/Fsck.hs +++ b/Command/Fsck.hs @@ -562,7 +562,7 @@ badContentDirect file key = do badContentRemote :: Remote -> FilePath -> Key -> Annex String badContentRemote remote localcopy key = do bad <- fromRepo gitAnnexBadDir - let destbad = bad serializeKey key + let destbad = bad fileKey key movedbad <- ifM (inAnnex key <||> liftIO (doesFileExist destbad)) ( return False , do