propigate ssh-options everywhere ssh caching is used
* sync: Use the ssh-options git config when doing git pull and push. * remotedaemon: Use the ssh-options git config. Note that the rename env var means that if a new git-annex calls an old one for git-annex ssh, or a new calls an old, nothing much will go wrong; just ssh caching won't happen.
This commit is contained in:
parent
3f5c9ddc05
commit
15107d2c5a
8 changed files with 53 additions and 33 deletions
|
@ -14,6 +14,7 @@ import Common
|
|||
import qualified Annex
|
||||
import qualified Git.Types as Git
|
||||
import qualified Utility.SimpleProtocol as Proto
|
||||
import Types.GitConfig
|
||||
|
||||
import Network.URI
|
||||
import Control.Concurrent
|
||||
|
@ -27,7 +28,7 @@ newtype RemoteURI = RemoteURI URI
|
|||
-- from a Chan, and emits others to another Chan.
|
||||
type Transport = RemoteRepo -> RemoteURI -> TransportHandle -> TChan Consumed -> TChan Emitted -> IO ()
|
||||
|
||||
type RemoteRepo = Git.Repo
|
||||
data RemoteRepo = RemoteRepo Git.Repo RemoteGitConfig
|
||||
type LocalRepo = Git.Repo
|
||||
|
||||
-- All Transports share a single AnnexState MVar
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue