From f612ebb9340a3e0ad3820fa601200d8ae2c24bc5 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 13 Aug 2024 14:15:43 -0400 Subject: [PATCH] avoid changing git-annex info behavior 5afbea25e7751a8841ac42db3822b81ea68f31c1 changed it to ignore journal files that did not correspond to a key in the git-annex branch. However, when there is a private journal, that can happen. Neither behavior is fully correct, so keep the old incorrect behavior rather than introducing a new differently incorrect behavior. I plan to eventually make git-annex info use Annex.reposizes instead of calculating it itself, and once Annex.reposizes handles this all correctly, this will be a moot problem. --- Command/Info.hs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Command/Info.hs b/Command/Info.hs index e35a646d39..2a061efdfb 100644 --- a/Command/Info.hs +++ b/Command/Info.hs @@ -641,7 +641,7 @@ cachedAllRepoData = do Just _ -> return s Nothing -> do matcher <- lift getKeyOnlyMatcher - r <- lift $ overLocationLogs True (emptyKeyInfo, mempty) $ \k locs (d, rd) -> do + r <- lift $ overLocationLogs False (emptyKeyInfo, mempty) $ \k locs (d, rd) -> do ifM (matchOnKey matcher k) ( do alivelocs <- snd -- 2.30.2