summaryrefslogtreecommitdiff
path: root/Backend/SHA1.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Backend/SHA1.hs')
-rw-r--r--Backend/SHA1.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Backend/SHA1.hs b/Backend/SHA1.hs
index f8dbea4b0..3d868dbd1 100644
--- a/Backend/SHA1.hs
+++ b/Backend/SHA1.hs
@@ -48,7 +48,7 @@ keyValue file = do
checkKeySHA1 :: Key -> Annex Bool
checkKeySHA1 key = do
g <- Annex.gitRepo
- let file = annexLocation g key
+ let file = gitAnnexLocation g key
present <- liftIO $ doesFileExist file
if not present
then return True