fsck even files not in backend
This commit is contained in:
parent
498c8e8544
commit
7293ba2940
1 changed files with 2 additions and 6 deletions
|
@ -18,10 +18,6 @@ seek = [withFilesInGit start]
|
|||
{- Checks a file's backend data for problems. -}
|
||||
start :: SubCmdStartString
|
||||
start file = isAnnexed file $ \(key, backend) -> do
|
||||
inbackend <- Backend.hasKey key
|
||||
if (not inbackend)
|
||||
then return Nothing
|
||||
else do
|
||||
showStart "fsck" file
|
||||
return $ Just $ perform key backend
|
||||
|
||||
|
|
Loading…
Reference in a new issue