diff options
author | Joey Hess <joey@kitenet.net> | 2013-08-22 12:01:53 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-08-22 12:01:53 -0400 |
commit | 0768ec19e2484fc7dbc4d0fd6502f7934018ee09 (patch) | |
tree | c9b311afe6f70e9690136cf7a312ae7d13dad3dd /Config.hs | |
parent | e591a2aec9fcdfad2ee6303804165af433a77342 (diff) |
Better error message when trying to use a git remote that has annex.ignore set.
Diffstat (limited to 'Config.hs')
-rw-r--r-- | Config.hs | 3 |
1 files changed, 3 insertions, 0 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 |