--auto fixes
* get/copy --auto: Transfer data even if it would exceed numcopies, when preferred content settings want it. * drop --auto: Fix dropping content when there are no preferred content settings.
This commit is contained in:
parent
28cfd6776d
commit
99a8a5297c
12 changed files with 50 additions and 48 deletions
2
Limit.hs
2
Limit.hs
|
@ -34,7 +34,7 @@ type AssumeNotPresent = S.Set UUID
|
|||
|
||||
{- Checks if there are user-specified limits. -}
|
||||
limited :: Annex Bool
|
||||
limited = (not . Utility.Matcher.matchesAny) <$> getMatcher'
|
||||
limited = (not . Utility.Matcher.isEmpty) <$> getMatcher'
|
||||
|
||||
{- Gets a matcher for the user-specified limits. The matcher is cached for
|
||||
- speed; once it's obtained the user-specified limits can't change. -}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue