avoid name shadowing warning
authorJoey Hess <joeyh@joeyh.name>
Mon, 26 Sep 2022 20:20:56 +0000 (16:20 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 26 Sep 2022 20:20:56 +0000 (16:20 -0400)
Logs/Restage.hs

index 4e0f3e51467144228da2c2d2ba81f4ecc5afd414..4d5a33cfa8fe604b5eb41415988bad7e13636c8f 100644 (file)
@@ -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