This commit is contained in:
Joey Hess 2011-03-27 19:23:00 -04:00
parent 4868b64868
commit 28bf28a73c
3 changed files with 5 additions and 4 deletions

View file

@ -16,7 +16,7 @@ import Data.List.Utils
import Command import Command
import qualified Annex import qualified Annex
import qualified GitRepo as Git import qualified GitRepo as Git
import qualified Remote.GitRemote import qualified Remote.Git
import Messages import Messages
import Types import Types
import Utility import Utility
@ -203,7 +203,7 @@ tryScan r
Git.hConfigRead r Git.hConfigRead r
configlist = configlist =
Remote.GitRemote.onRemote r (pipedconfig, Nothing) "configlist" [] Remote.Git.onRemote r (pipedconfig, Nothing) "configlist" []
manualconfiglist = do manualconfiglist = do
let sshcmd = let sshcmd =
"cd " ++ shellEscape(Git.workTree r) ++ " && " ++ "cd " ++ shellEscape(Git.workTree r) ++ " && " ++

View file

@ -27,7 +27,8 @@ import Control.Monad (when, liftM)
import Data.List import Data.List
import RemoteClass import RemoteClass
import qualified Remote.GitRemote import qualified Remote.Git
import qualified Remote.S3
import Types import Types
import UUID import UUID
import qualified Annex import qualified Annex
@ -36,7 +37,7 @@ import LocationLog
{- add generators for new Remotes here -} {- add generators for new Remotes here -}
generators :: [Annex [Remote Annex]] generators :: [Annex [Remote Annex]]
generators = [Remote.GitRemote.generate] generators = [Remote.Git.generate]
{- Builds a list of all available Remotes. {- Builds a list of all available Remotes.
- Since doing so can be expensive, the list is cached in the Annex. -} - Since doing so can be expensive, the list is cached in the Annex. -}