annex.supportunlocked should not prevent scan for annexed files

That scan used to be only for unlocked files, but no longer..
This commit is contained in:
Joey Hess 2021-05-31 10:51:39 -04:00
parent 759e5a9903
commit aa00e171cb
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38

View 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