diff options
author | 2013-03-31 19:00:14 -0400 | |
---|---|---|
committer | 2013-03-31 19:00:14 -0400 | |
commit | 7ff462faa5c50805860db3f5dc40a843d675c160 (patch) | |
tree | 2f1c97a53cf879484be907f50402955913cf736c | |
parent | 034daa7b987f479a2b3557018af47df6ee6ee37a (diff) |
invalidated the wrong cache when setting preferred content
-rw-r--r-- | Logs/PreferredContent.hs | 2 |
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 |