diff options
author | Joey Hess <joey@kitenet.net> | 2010-10-27 13:55:28 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-10-27 13:55:28 -0400 |
commit | 3281a1cb19e25f964ca9b91877a194fcb216ca5d (patch) | |
tree | a19268d15b48ad9e4bf042a1d52e91bab150954e /Commands.hs | |
parent | 4e7c27f58bc8af8be50bca82523ad18c1dfe2a4e (diff) |
don't try to set up .gitattributes every time; only do it on git annex init
Diffstat (limited to 'Commands.hs')
-rw-r--r-- | Commands.hs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Commands.hs b/Commands.hs index 6018ed822..015a2d822 100644 --- a/Commands.hs +++ b/Commands.hs @@ -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 |