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.
This commit is contained in:
parent
e8fc2ff27c
commit
d37fe6a547
8 changed files with 107 additions and 38 deletions
6
Limit.hs
6
Limit.hs
|
@ -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 ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue