diff --git a/Command/Add.hs b/Command/Add.hs index e142aac0bc..56e6fb2361 100644 --- a/Command/Add.hs +++ b/Command/Add.hs @@ -107,7 +107,7 @@ addSmallOverridden :: RawFilePath -> Annex Bool addSmallOverridden file = do showNote "adding content to git repository" let file' = fromRawFilePath file - s <- liftIO $ getFileStatus file' + s <- liftIO $ getSymbolicLinkStatus file' if isSymbolicLink s then addFile file else do