enableremote: Remove annex-ignore configuration from a remote.
This commit is contained in:
parent
b33a649a25
commit
1b3bde0625
5 changed files with 34 additions and 17 deletions
|
@ -80,6 +80,12 @@ setRemoteCost r c = setConfig (remoteConfig r "cost") (show c)
|
|||
setRemoteAvailability :: Git.Repo -> Availability -> Annex ()
|
||||
setRemoteAvailability r c = setConfig (remoteConfig r "availability") (show c)
|
||||
|
||||
setRemoteIgnore :: Git.Repo -> Bool -> Annex ()
|
||||
setRemoteIgnore r b = setConfig (remoteConfig r "ignore") (Git.Config.boolConfig b)
|
||||
|
||||
setRemoteBare :: Git.Repo -> Bool -> Annex ()
|
||||
setRemoteBare r b = setConfig (remoteConfig r "bare") (Git.Config.boolConfig b)
|
||||
|
||||
isDirect :: Annex Bool
|
||||
isDirect = annexDirect <$> Annex.getGitConfig
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue