add a missing import

This commit is contained in:
Joey Hess 2019-02-08 13:20:24 -04:00
parent 6cba1950f2
commit 9d53e1cddf
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 3 additions and 2 deletions

View file

@ -53,7 +53,7 @@ import qualified Utility.LockFile.Posix as Posix
#endif
checkCanInitialize :: Annex a -> Annex a
checkCanInitialize a = inRepo (noAnnexFileContent . repoWorkTree) >>= \case
checkCanInitialize a = inRepo (noAnnexFileContent . Git.repoWorkTree) >>= \case
Nothing -> a
Just noannexmsg -> do
warning "Initialization prevented by .noannex file (remove the file to override)"