annex.supportunlocked should not prevent scan for annexed files
authorJoey Hess <joeyh@joeyh.name>
Mon, 31 May 2021 14:51:39 +0000 (10:51 -0400)
committerJoey Hess <joeyh@joeyh.name>
Mon, 31 May 2021 14:51:39 +0000 (10:51 -0400)
That scan used to be only for unlocked files, but no longer..

Annex/Init.hs

index c1834085d11fc07995a44af4c9d4f72e3661ce5c..124e28865bc3c38336cc981f7e6dd300a8fc9eda 100644 (file)
@@ -133,9 +133,8 @@ initialize' mversion = checkInitializeAllowed $ do
                then configureSmudgeFilter
                else deconfigureSmudgeFilter
        unlessM isBareRepo $ do
-               when supportunlocked $ do
-                       showSideAction "scanning for annexed files"
-                       scanAnnexedFiles
+               showSideAction "scanning for annexed files"
+               scanAnnexedFiles
                hookWrite postCheckoutHook
                hookWrite postMergeHook
        AdjustedBranch.checkAdjustedClone >>= \case