avoid name shadowing warning
This commit is contained in:
parent
7059322a6c
commit
26dea5641e
1 changed files with 2 additions and 2 deletions
|
@ -45,11 +45,11 @@ streamRestageLog finalizer processor = do
|
|||
Nothing -> noop
|
||||
|
||||
calcRestageLog :: t -> ((TopFilePath, InodeCache) -> t -> t) -> Annex t
|
||||
calcRestageLog start proc = do
|
||||
calcRestageLog start update = do
|
||||
logf <- fromRepo gitAnnexRestageLog
|
||||
calcLogFile (fromRawFilePath logf) start $ \l v ->
|
||||
case parseRestageLog (decodeBL l) of
|
||||
Just pl -> proc pl v
|
||||
Just pl -> update pl v
|
||||
Nothing -> v
|
||||
|
||||
formatRestageLog :: TopFilePath -> InodeCache -> S.ByteString
|
||||
|
|
Loading…
Reference in a new issue