small git-annex get speedup
Remove an redundant inAnnex check. The checkContentPresent handles that, and after the last commit also does in batch mode.
This commit is contained in:
parent
1be92381ec
commit
4685612f43
3 changed files with 5 additions and 6 deletions
|
@ -70,7 +70,7 @@ startKeys from (key, ai) = checkFailedTransferDirection ai Download $
|
|||
|
||||
start' :: Annex Bool -> Maybe Remote -> Key -> AssociatedFile -> ActionItem -> CommandStart
|
||||
start' expensivecheck from key afile ai =
|
||||
stopUnless (not <$> inAnnex key) $ stopUnless expensivecheck $
|
||||
stopUnless expensivecheck $
|
||||
case from of
|
||||
Nothing -> go $ perform key afile
|
||||
Just src ->
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue