annex.addsmallfiles: New option controlling what is done when adding files not matching annex.largefiles.
This commit is contained in:
parent
c7a89ead3a
commit
7c1df36d63
4 changed files with 19 additions and 1 deletions
|
@ -49,7 +49,10 @@ seek o = allowConcurrentOutput $ do
|
|||
matcher <- largeFilesMatcher
|
||||
let gofile file = ifM (checkFileMatcher matcher file <||> Annex.getState Annex.force)
|
||||
( start file
|
||||
, startSmall file
|
||||
, ifM (annexAddSmallFiles <$> Annex.getGitConfig)
|
||||
( startSmall file
|
||||
, stop
|
||||
)
|
||||
)
|
||||
case batchOption o of
|
||||
Batch -> batchFiles gofile
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue