avoid catObjectStream skipping over unavailable shas

Not needed as it's used for --all, but will be needed later.
This commit is contained in:
Joey Hess 2020-07-08 13:56:14 -04:00
parent de3d7d044d
commit d08c178f97
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
3 changed files with 10 additions and 18 deletions

View file

@ -220,7 +220,7 @@ withKeyOptions' ko auto mkkeyaction fallbackaction params = do
Just (f, content) -> do
case getk f of
Just k -> do
Annex.BranchState.setCache (getTopFilePath f) content
maybe noop (Annex.BranchState.setCache (getTopFilePath f)) content
keyaction (k, mkActionItem k)
Nothing -> return ()
go reader