git-annex/Remote
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
..
Directory more RawFilePath 2019-12-18 17:10:28 -04:00
External include all remotes back in 2019-12-02 12:26:33 -04:00
Helper more RawFilePath 2019-12-18 17:10:28 -04:00
Rsync more RawFilePath 2019-12-18 17:10:28 -04:00
WebDAV more RawFilePath 2019-12-18 17:10:28 -04:00
Adb.hs use filepath-bytestring for annex object manipulations 2019-12-11 15:25:07 -04:00
BitTorrent.hs more RawFilePath 2019-12-18 17:10:28 -04:00
Bup.hs convert TopFilePath to use RawFilePath 2019-12-09 15:07:21 -04:00
Ddar.hs add RemoteStateHandle 2019-10-14 13:51:42 -04:00
Directory.hs more RawFilePath 2019-12-18 17:10:28 -04:00
External.hs annex.addunlocked expressions 2019-12-20 15:56:25 -04:00
GCrypt.hs more RawFilePath 2019-12-18 17:10:28 -04:00
Git.hs git-annex config annex.largefiles 2019-12-20 13:01:41 -04:00
GitLFS.hs all commands building except for assistant 2019-12-05 14:41:18 -04:00
Glacier.hs cache the serialization of a Key 2019-11-22 17:49:16 -04:00
Hook.hs use filepath-bytestring for annex object manipulations 2019-12-11 15:25:07 -04:00
List.hs include all remotes back in 2019-12-02 12:26:33 -04:00
P2P.hs add RemoteStateHandle 2019-10-14 13:51:42 -04:00
Rsync.hs more RawFilePath 2019-12-18 17:10:28 -04:00
S3.hs include all remotes back in 2019-12-02 12:26:33 -04:00
Tahoe.hs add RemoteStateHandle 2019-10-14 13:51:42 -04:00
Web.hs cache the serialization of a Key 2019-11-22 17:49:16 -04:00
WebDAV.hs include all remotes back in 2019-12-02 12:26:33 -04:00