addurl, importfeed: Changed to honor annex.largefiles settings, when the content of the url is downloaded. (Not when using --fast or --relaxed.)
importfeed just calls addurl functions, so inherits this from it. Note that addurl still generates a temp file, and uses that key to download the file. It just adds it to the work tree at the end when the file is small.
This commit is contained in:
parent
dc8099872a
commit
f16e235983
6 changed files with 41 additions and 21 deletions
|
@ -129,7 +129,7 @@ start largematcher mode (srcfile, destfile) =
|
|||
else moveFile srcfile destfile
|
||||
ifM (checkFileMatcher largematcher destfile)
|
||||
( Command.Add.perform destfile
|
||||
, Command.Add.performSmall destfile
|
||||
, next $ Command.Add.addSmall destfile
|
||||
)
|
||||
notoverwriting why = do
|
||||
warning $ "not overwriting existing " ++ destfile ++ " " ++ why
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue