fix parsing of unused log; keys can contain spaces
This commit is contained in:
parent
b9e6cb07ad
commit
4f7e72b51a
1 changed files with 3 additions and 1 deletions
|
@ -86,7 +86,9 @@ readUnusedLog prefix = do
|
|||
_ -> Nothing
|
||||
where
|
||||
(sint, rest) = separate (== ' ') line
|
||||
(skey, ts) = separate (== ' ') rest
|
||||
(rts, rskey) = separate (== ' ') (reverse rest)
|
||||
skey = reverse rskey
|
||||
ts = reverse rts
|
||||
|
||||
readUnusedMap :: FilePath -> Annex UnusedMap
|
||||
readUnusedMap = log2map <$$> readUnusedLog
|
||||
|
|
Loading…
Reference in a new issue