From ef5330120c0b522ff159a5b3caba7a926236947b Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Sat, 29 Oct 2011 19:30:48 -0400 Subject: bare cleanup --- Command/Add.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'Command/Add.hs') diff --git a/Command/Add.hs b/Command/Add.hs index 82287be0b..cd18f6c72 100644 --- a/Command/Add.hs +++ b/Command/Add.hs @@ -29,7 +29,7 @@ seek = [withFilesNotInGit start, withFilesUnlocked start] - moving it into the annex directory and setting up the symlink pointing - to its content. -} start :: BackendFile -> CommandStart -start p@(_, file) = notAnnexed file $ do +start p@(_, file) = notBareRepo $ notAnnexed file $ do s <- liftIO $ getSymbolicLinkStatus file if isSymbolicLink s || not (isRegularFile s) then stop -- cgit v1.2.3