invalidated the wrong cache when setting preferred content
This commit is contained in:
parent
0eeb8d0508
commit
91b7de97e8
1 changed files with 1 additions and 1 deletions
|
@ -43,7 +43,7 @@ preferredContentSet uuid@(UUID _) val = do
|
||||||
ts <- liftIO getPOSIXTime
|
ts <- liftIO getPOSIXTime
|
||||||
Annex.Branch.change preferredContentLog $
|
Annex.Branch.change preferredContentLog $
|
||||||
showLog id . changeLog ts uuid val . parseLog Just
|
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"
|
preferredContentSet NoUUID _ = error "unknown UUID; cannot modify"
|
||||||
|
|
||||||
{- Checks if a file is preferred content for the specified repository
|
{- Checks if a file is preferred content for the specified repository
|
||||||
|
|
Loading…
Reference in a new issue