summaryrefslogtreecommitdiff
path: root/Messages.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2011-01-26 00:17:38 -0400
committerGravatar Joey Hess <joey@kitenet.net>2011-01-26 00:17:38 -0400
commit6a97b10fcb3e1fa6a230d92a25b42ded587ff743 (patch)
treeb8a6ce70916c397c67788b47de6a389db8753969 /Messages.hs
parent082b022f9ae56b1446b6607cf7851cd4f1d4f904 (diff)
rework config storage
Moved away from a map of flags to storing config directly in the AnnexState structure. Got rid of most accessor functions in Annex. This allowed supporting multiple --exclude flags.
Diffstat (limited to 'Messages.hs')
-rw-r--r--Messages.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Messages.hs b/Messages.hs
index 2934de428..2b9862230 100644
--- a/Messages.hs
+++ b/Messages.hs
@@ -17,7 +17,7 @@ import qualified Annex
verbose :: Annex () -> Annex ()
verbose a = do
- q <- Annex.flagIsSet "quiet"
+ q <- Annex.getState Annex.quiet
unless q a
showSideAction :: String -> Annex ()