don't try to set up .gitattributes every time; only do it on git annex init

This commit is contained in:
Joey Hess 2010-10-27 13:55:28 -04:00
parent 4e7c27f58b
commit 3281a1cb19
3 changed files with 8 additions and 3 deletions

View file

@ -346,7 +346,7 @@ fixCleanup file = do
Annex.queue "add" [] file
return True
{- Stores description for the repository. -}
{- Stores description for the repository etc. -}
initStart :: String -> Annex (Maybe SubCmdPerform)
initStart description = do
if (null description)
@ -359,6 +359,7 @@ initPerform description = do
g <- Annex.gitRepo
u <- getUUID g
describeUUID u description
liftIO $ gitAttributes g
return $ Just $ initCleanup
initCleanup :: Annex Bool
initCleanup = do