Added updateproxy command and remote.name.annex-proxy configuration
So far this only records proxy information on the git-annex branch.
This commit is contained in:
parent
f3f40e03b4
commit
f97f4b8bdb
10 changed files with 207 additions and 1 deletions
|
@ -375,6 +375,7 @@ data RemoteGitConfig = RemoteGitConfig
|
|||
, remoteAnnexConfigUUID :: Maybe UUID
|
||||
, remoteAnnexMaxGitBundles :: Int
|
||||
, remoteAnnexAllowEncryptedGitRepo :: Bool
|
||||
, remoteAnnexProxy :: Bool
|
||||
, remoteUrl :: Maybe String
|
||||
|
||||
{- These settings are specific to particular types of remotes
|
||||
|
@ -459,6 +460,7 @@ extractRemoteGitConfig r remotename = do
|
|||
fromMaybe 100 (getmayberead "max-git-bundles")
|
||||
, remoteAnnexAllowEncryptedGitRepo =
|
||||
getbool "allow-encrypted-gitrepo" False
|
||||
, remoteAnnexProxy = getbool "proxy" False
|
||||
, remoteUrl =
|
||||
case Git.Config.getMaybe (remoteConfig remotename "url") r of
|
||||
Just (ConfigValue b)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue