diff options
author | Joey Hess <joeyh@joeyh.name> | 2016-02-02 15:18:17 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2016-02-02 15:18:17 -0400 |
commit | 8adf318558c74393fbed0a746465c9b8e29a63a0 (patch) | |
tree | 410cbb527939465949ce0f99ac2d2d3f686b74ce /Limit.hs | |
parent | 81457e02ddf833df56112a8afaf25f57ecd07076 (diff) |
annex.largefiles can be configured in .gitattributes too
This is particulary useful for v6 repositories, since the .gitattributes
configuration will apply in all clones of the repository.
Diffstat (limited to 'Limit.hs')
-rw-r--r-- | Limit.hs | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -200,10 +200,14 @@ limitUnused _ (MatchingInfo _ ak _) = do k <- getInfo ak S.member k <$> unusedKeys -{- Limit that matches any version of any file. -} +{- Limit that matches any version of any file or key. -} limitAnything :: MatchFiles Annex limitAnything _ _ = return True +{- Limit that never matches. -} +limitNothing :: MatchFiles Annex +limitNothing _ _ = return False + {- Adds a limit to skip files not believed to be present in all - repositories in the specified group. -} addInAllGroup :: String -> Annex () |