From: Joey Hess Date: Sun, 31 Mar 2013 23:00:14 +0000 (-0400) Subject: invalidated the wrong cache when setting preferred content X-Git-Tag: archive/raspbian/10.20250416-2+rpi1~1^2~4695 X-Git-Url: https://dgit.raspbian.org/?a=commitdiff_plain;h=91b7de97e8cb968f61c23fadc196f42f307ac9bf;p=git-annex.git invalidated the wrong cache when setting preferred content --- diff --git a/Logs/PreferredContent.hs b/Logs/PreferredContent.hs index 0efe42e174..d980cd373d 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