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 /doc | |
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 'doc')
-rw-r--r-- | doc/git-annex.mdwn | 5 | ||||
-rw-r--r-- | doc/todo/make_addurl_respect_annex.largefiles_option.mdwn | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/doc/git-annex.mdwn b/doc/git-annex.mdwn index e41f9d655..2020ccf3f 100644 --- a/doc/git-annex.mdwn +++ b/doc/git-annex.mdwn @@ -801,7 +801,10 @@ Here are all the supported configuration settings. annex.largefiles = largerthan=100kb and not (include=*.c or include=*.h) - This setting is used by `git annex add`, `git annex import` and the assistant. + This setting is checked by `git annex add`, `git annex import` and the assistant. + It's also used by `git annex addurl` and `git annex importfeed` when + downloading files. + It can be useful to temporarily override it via -c at the command line. For example: diff --git a/doc/todo/make_addurl_respect_annex.largefiles_option.mdwn b/doc/todo/make_addurl_respect_annex.largefiles_option.mdwn index 340464948..b80349a76 100644 --- a/doc/todo/make_addurl_respect_annex.largefiles_option.mdwn +++ b/doc/todo/make_addurl_respect_annex.largefiles_option.mdwn @@ -2,3 +2,5 @@ ATM git annex addurl ignores annex.largefiles option so to automate annexificat N.B. I do understand that use-case might be somewhat vague, let me know if I should expand reasoning [[!meta author=yoh]] + +> [[done]] --[[Joey]] |