Better error message when trying to use a git remote that has annex.ignore set.
This commit is contained in:
parent
9ab3010100
commit
74034ec781
4 changed files with 28 additions and 6 deletions
|
@ -18,6 +18,9 @@ import Config.Cost
|
|||
type UnqualifiedConfigKey = String
|
||||
data ConfigKey = ConfigKey String
|
||||
|
||||
instance Show ConfigKey where
|
||||
show (ConfigKey s) = s
|
||||
|
||||
{- Looks up a setting in git config. -}
|
||||
getConfig :: ConfigKey -> String -> Annex String
|
||||
getConfig (ConfigKey key) def = fromRepo $ Git.Config.get key def
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue