add a finalizer to streamLogFile
Sponsored-by: Dartmouth College's DANDI project
This commit is contained in:
parent
8718125ae4
commit
ed8afacc39
2 changed files with 13 additions and 8 deletions
|
@ -34,7 +34,7 @@ streamSmudged :: (Key -> TopFilePath -> Annex ()) -> Annex ()
|
|||
streamSmudged a = do
|
||||
logf <- fromRepo gitAnnexSmudgeLog
|
||||
lckf <- fromRepo gitAnnexSmudgeLock
|
||||
streamLogFile (fromRawFilePath logf) lckf $ \l ->
|
||||
streamLogFile (fromRawFilePath logf) lckf noop $ \l ->
|
||||
case parse l of
|
||||
Nothing -> noop
|
||||
Just (k, f) -> a k f
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue