diff options
Diffstat (limited to 'Backend')
-rw-r--r-- | Backend/SHA.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Backend/SHA.hs b/Backend/SHA.hs index a3846a410..2ae0cfcf4 100644 --- a/Backend/SHA.hs +++ b/Backend/SHA.hs @@ -99,7 +99,7 @@ keyValueE size file = keyValue size file >>= maybe (return Nothing) addE checkKeyChecksum :: SHASize -> Key -> Annex Bool checkKeyChecksum size key = do fast <- Annex.getState Annex.fast - file <- fromRepo $ gitAnnexLocation key + file <- inRepo $ gitAnnexLocation key present <- liftIO $ doesFileExist file if not present || fast then return True |