diff options
Diffstat (limited to 'Annex/CatFile.hs')
-rw-r--r-- | Annex/CatFile.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Annex/CatFile.hs b/Annex/CatFile.hs index fc722c8e7..6a778db03 100644 --- a/Annex/CatFile.hs +++ b/Annex/CatFile.hs @@ -80,7 +80,7 @@ catKey = catKey' True catKey' :: Bool -> Ref -> FileMode -> Annex (Maybe Key) catKey' modeguaranteed ref mode | isSymLink mode = do - l <- fromInternalGitPath . encodeW8 . L.unpack <$> get + l <- fromInternalGitPath . decodeBS <$> get return $ if isLinkToAnnex l then fileKey $ takeFileName l else Nothing |