From 0768ec19e2484fc7dbc4d0fd6502f7934018ee09 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Thu, 22 Aug 2013 12:01:53 -0400 Subject: Better error message when trying to use a git remote that has annex.ignore set. --- Config.hs | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Config.hs') diff --git a/Config.hs b/Config.hs index 4d93a2af5..c37481ead 100644 --- a/Config.hs +++ b/Config.hs @@ -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 -- cgit v1.2.3