aboutsummaryrefslogtreecommitdiff
path: root/Logs/PreferredContent.hs
diff options
context:
space:
mode:
authorGravatar Joey Hess <joey@kitenet.net>2013-03-31 19:00:14 -0400
committerGravatar Joey Hess <joey@kitenet.net>2013-03-31 19:00:14 -0400
commit7ff462faa5c50805860db3f5dc40a843d675c160 (patch)
tree2f1c97a53cf879484be907f50402955913cf736c /Logs/PreferredContent.hs
parent034daa7b987f479a2b3557018af47df6ee6ee37a (diff)
invalidated the wrong cache when setting preferred content
Diffstat (limited to 'Logs/PreferredContent.hs')
-rw-r--r--Logs/PreferredContent.hs2
1 files changed, 1 insertions, 1 deletions
diff --git a/Logs/PreferredContent.hs b/Logs/PreferredContent.hs
index 0efe42e17..d980cd373 100644
--- a/Logs/PreferredContent.hs
+++ b/Logs/PreferredContent.hs
@@ -43,7 +43,7 @@ preferredContentSet uuid@(UUID _) val = do
ts <- liftIO getPOSIXTime
Annex.Branch.change preferredContentLog $
showLog id . changeLog ts uuid val . parseLog Just
- Annex.changeState $ \s -> s { Annex.groupmap = Nothing }
+ Annex.changeState $ \s -> s { Annex.preferredcontentmap = Nothing }
preferredContentSet NoUUID _ = error "unknown UUID; cannot modify"
{- Checks if a file is preferred content for the specified repository