avoid side message when doing automatic upgrade to v7
An automatic upgrade is supposed to be silent.
This commit is contained in:
parent
5877a15d7b
commit
f6fb4b8cdb
2 changed files with 1 additions and 1 deletions
|
@ -113,6 +113,7 @@ initialize' mversion = checkCanInitialize $ do
|
|||
)
|
||||
whenM versionSupportsUnlockedPointers $ do
|
||||
configureSmudgeFilter
|
||||
showSideAction "scanning for unlocked files"
|
||||
scanUnlockedFiles True
|
||||
unlessM isBareRepo $ do
|
||||
hookWrite postCheckoutHook
|
||||
|
|
|
@ -80,7 +80,6 @@ ifAnnexed file yes no = maybe no yes =<< lookupFile file
|
|||
-}
|
||||
scanUnlockedFiles :: Bool -> Annex ()
|
||||
scanUnlockedFiles replacefiles = whenM (inRepo Git.Ref.headExists) $ do
|
||||
showSideAction "scanning for unlocked files"
|
||||
Database.Keys.runWriter $
|
||||
liftIO . Database.Keys.SQL.dropAllAssociatedFiles
|
||||
(l, cleanup) <- inRepo $ Git.LsTree.lsTree Git.LsTree.LsTreeRecursive Git.Ref.headRef
|
||||
|
|
Loading…
Add table
Reference in a new issue