import --no-content: Check annex.largefiles
Import small files into git, the same as is done when importing with content. Which means, for small files, --no-content does download them. If the largefiles expression needs the file content available (due to mimetype or mimeencoding being used), the import will fail. This commit was sponsored by Jake Vosloo on Patreon.
This commit is contained in:
parent
8b74f01a26
commit
15c1ee16d9
6 changed files with 106 additions and 53 deletions
2
Limit.hs
2
Limit.hs
|
@ -69,7 +69,7 @@ getMatcher' = go =<< Annex.getState Annex.limit
|
|||
{- Checks if the user-specified limits contains anything that meets the
|
||||
- condition. -}
|
||||
introspect :: (MatchFiles Annex -> Bool) -> Annex Bool
|
||||
introspect c = any c <$> getMatcher'
|
||||
introspect c = Utility.Matcher.introspect c <$> getMatcher'
|
||||
|
||||
{- Adds something to the limit list, which is built up reversed. -}
|
||||
add :: Utility.Matcher.Token (MatchFiles Annex) -> Annex ()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue