don't try to set up .gitattributes every time; only do it on git annex init
This commit is contained in:
parent
4e7c27f58b
commit
3281a1cb19
3 changed files with 8 additions and 3 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue