Special remotes configured with autoenable=true will be automatically enabled when git-annex init is run.
This commit is contained in:
parent
3f47d1b351
commit
9cfb96c53d
12 changed files with 148 additions and 64 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue