diff options
author | Joey Hess <joey@kitenet.net> | 2013-09-08 15:19:14 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-09-08 15:19:14 -0400 |
commit | 8bb2e27dca0a81da54e0ae2a44a8844d5861e8e0 (patch) | |
tree | 4b55618b3a4ac2756f39f16d0cc3ca3021f3633a /Config.hs | |
parent | eaffb01ca5db31f8e1f8f04c4fa90d64e0b7bc6a (diff) |
ignore gcrypt remotes w/o an annex-uuid
Diffstat (limited to 'Config.hs')
-rw-r--r-- | Config.hs | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -25,6 +25,9 @@ instance Show ConfigKey where getConfig :: ConfigKey -> String -> Annex String getConfig (ConfigKey key) def = fromRepo $ Git.Config.get key def +getConfigMaybe :: ConfigKey -> Annex (Maybe String) +getConfigMaybe (ConfigKey key) = fromRepo $ Git.Config.getMaybe key + {- Changes a git config setting in both internal state and .git/config -} setConfig :: ConfigKey -> String -> Annex () setConfig (ConfigKey key) value = do |