projects
/
git-annex.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0eeb8d0
)
invalidated the wrong cache when setting preferred content
author
Joey Hess
<joey@kitenet.net>
Sun, 31 Mar 2013 23:00:14 +0000
(19:00 -0400)
committer
Joey Hess
<joey@kitenet.net>
Sun, 31 Mar 2013 23:00:14 +0000
(19:00 -0400)
Logs/PreferredContent.hs
patch
|
blob
|
history
diff --git
a/Logs/PreferredContent.hs
b/Logs/PreferredContent.hs
index 0efe42e174026c0c0134849eac649eba9c2a7014..d980cd373d3eb34116d1ac83db4e68eaa8e1326c 100644
(file)
--- 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.
group
map = Nothing }
+ Annex.changeState $ \s -> s { Annex.
preferredcontent
map = Nothing }
preferredContentSet NoUUID _ = error "unknown UUID; cannot modify"
{- Checks if a file is preferred content for the specified repository