From 2bb6b02948da8a33b2edcd911fcf3c2597b0ee58 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Wed, 16 Nov 2011 00:49:09 -0400 Subject: When not run in a git repository, git-annex can still display a usage message, and "git annex version" even works. Things that sound simple, but are made hard by the Annex monad being built with the assumption that there will always be a git repo. --- Logs/Trust.hs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Logs/Trust.hs') diff --git a/Logs/Trust.hs b/Logs/Trust.hs index 6305d281f..072ea41d6 100644 --- a/Logs/Trust.hs +++ b/Logs/Trust.hs @@ -30,8 +30,8 @@ trustLog = "trust.log" trustGet :: TrustLevel -> Annex [UUID] trustGet SemiTrusted = do -- special case; trustMap does not contain all these others <- M.keys . M.filter (/= SemiTrusted) <$> trustMap - all <- uuidList - return $ all \\ others + alluuids <- uuidList + return $ alluuids \\ others trustGet level = M.keys . M.filter (== level) <$> trustMap {- Read the trustLog into a map, overriding with any -- cgit v1.2.3