diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-09-14 14:49:48 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-09-14 14:49:48 -0400 |
commit | 772f686a33e17ce104d0a9e5cc28a70e28250eb2 (patch) | |
tree | 067ebe52d8b461ca27e56d5944ae1d391972006b /Command/Reinit.hs | |
parent | d8bc62fed9ae2e85235fde7a6cba5f522daf6014 (diff) |
Special remotes configured with autoenable=true will be automatically enabled when git-annex init is run.
Diffstat (limited to 'Command/Reinit.hs')
-rw-r--r-- | Command/Reinit.hs | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Command/Reinit.hs b/Command/Reinit.hs index 0d144e945..1be692871 100644 --- a/Command/Reinit.hs +++ b/Command/Reinit.hs @@ -13,6 +13,7 @@ import Annex.Init import Annex.UUID import Types.UUID import qualified Remote +import qualified Annex.SpecialRemote cmd :: Command cmd = dontCheck repoExists $ @@ -38,4 +39,5 @@ perform s = do else Remote.nameToUUID s storeUUID u initialize' + Annex.SpecialRemote.autoEnable next $ return True |