From c10d11959a7f2ddd7ea71dd1690b182a48f31f84 Mon Sep 17 00:00:00 2001 From: Joey Hess <joeyh@joeyh.name> Date: Fri, 30 Aug 2024 14:35:05 -0400 Subject: [PATCH] fix paste oops Wow, I pasted a big thing into entirely the wrong file, but it was in a comment so it compiled anyway. --- Annex/Locations.hs | 16 +--------------- 1 file changed, 1 insertion(+), 15 deletions(-) diff --git a/Annex/Locations.hs b/Annex/Locations.hs index da0b4f800a..0b8b34ec38 100644 --- a/Annex/Locations.hs +++ b/Annex/Locations.hs @@ -159,21 +159,7 @@ objectDir = P.addTrailingPathSeparator $ annexDir P.</> "objects" {- Annexed file's possible locations relative to the .git directory - in a non-bare eepository. - -{- Checks for other git-annex processes that might have been interrupted - - and left the database populated with stale live size changes. Those - - are removed from the database. - - - - Also registers the current process so that other calls to this will not - - consider it stale while it's running. - - - - This checks the first time it is called, and again if it's been more - - than 1 minute since the last check. - -} -checkStaleSizeChanges :: Db.RepoSizeHandle -> Annex () -checkStaleSizeChanges h = do - undefined - - + - - Normally it is hashDirMixed. However, it's always possible that a - bare repository was converted to non-bare, or that the cripped - filesystem setting changed, so still need to check both. -}