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
|
@ -10,6 +10,7 @@ module Command.Init where
|
|||
import Common.Annex
|
||||
import Command
|
||||
import Annex.Init
|
||||
import qualified Annex.SpecialRemote
|
||||
|
||||
cmd :: Command
|
||||
cmd = dontCheck repoExists $
|
||||
|
@ -29,4 +30,5 @@ start ws = do
|
|||
perform :: String -> CommandPerform
|
||||
perform description = do
|
||||
initialize $ if null description then Nothing else Just description
|
||||
Annex.SpecialRemote.autoEnable
|
||||
next $ return True
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue