diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-12-02 15:12:33 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-12-02 15:12:33 -0400 |
commit | b38a482dd99a4f16c9752190e929b7726aba4c83 (patch) | |
tree | 5ea3ff8397d4207ce9db5cf5a963957acf747d07 /Command/Import.hs | |
parent | 8e7728b312704f6f4cb84d81302c1518f0e85948 (diff) |
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.
Diffstat (limited to 'Command/Import.hs')
-rw-r--r-- | Command/Import.hs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Command/Import.hs b/Command/Import.hs index 3887ea57b..7e8ce3b7a 100644 --- a/Command/Import.hs +++ b/Command/Import.hs @@ -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 |