git-annex/doc/todo/addunlocked_config_setting
Joey Hess 37467a008f
annex.addunlocked expressions
* annex.addunlocked can be set to an expression with the same format used by
  annex.largefiles, in case you want to default to unlocking some files but
  not others.
* annex.addunlocked can be configured by git-annex config.

Added a git-annex-matching-expression man page, broken out from
tips/largefiles.

A tricky consequence of this is that git-annex add --relaxed
honors annex.addunlocked, but an expression might want to know the size
or content of an url, which it's not going to download. I decided it was
better not to fail, and just dummy up some plausible data in that case.

Performance impact should be negligible. The global config is already
loaded for annex.largefiles. The expression only has to be parsed once,
and in the simple true/false case, it should not do any additional work
matching it.
2019-12-20 15:56:25 -04:00
..
comment_1_3815d409a57e85025d46bf6349ae472c._comment
comment_2_0989d05a27ba8a56787bc5dbe581d1ae._comment Added a comment: preventing inadvertently adding annexed files in unlocked form 2019-10-11 16:38:07 +00:00
comment_3_6909726735abb7945930ba45632e4769._comment comment 2019-12-19 12:06:59 -04:00
comment_4_e9c9552c4f558ada76fe1e3eecfa1627._comment annex.addunlocked expressions 2019-12-20 15:56:25 -04:00