git-annex/Git
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
..
Command update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Remote Removed support for git versions older than 2.1 2019-09-11 16:14:43 -04:00
AutoCorrect.hs all commands building except for assistant 2019-12-05 14:41:18 -04:00
Branch.hs annex.addunlocked expressions 2019-12-20 15:56:25 -04:00
BuildVersion.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
CatFile.hs wip RawFilePath 2019-11-25 16:18:19 -04:00
CheckAttr.hs Removed support for git versions older than 2.1 2019-09-11 16:14:43 -04:00
CheckIgnore.hs Removed support for git versions older than 2.1 2019-09-11 16:14:43 -04:00
Command.hs convert TopFilePath to use RawFilePath 2019-12-09 15:07:21 -04:00
Config.hs annex.addunlocked expressions 2019-12-20 15:56:25 -04:00
ConfigTypes.hs all commands building except for assistant 2019-12-05 14:41:18 -04:00
Construct.hs convert TopFilePath to use RawFilePath 2019-12-09 15:07:21 -04:00
Credential.hs typo 2019-09-24 14:34:15 -04:00
CurrentRepo.hs convert TopFilePath to use RawFilePath 2019-12-09 15:07:21 -04:00
DiffTree.hs convert TopFilePath to use RawFilePath 2019-12-09 15:07:21 -04:00
DiffTreeItem.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Env.hs convert TopFilePath to use RawFilePath 2019-12-09 15:07:21 -04:00
FileMode.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Filename.hs fix another quickcheck property broken by NUL in Arbitrary String 2019-12-06 13:13:08 -04:00
FilePath.hs convert TopFilePath to use RawFilePath 2019-12-09 15:07:21 -04:00
Fsck.hs Removed support for git versions older than 2.1 2019-09-11 16:14:43 -04:00
GCrypt.hs all commands building except for assistant 2019-12-05 14:41:18 -04:00
HashObject.hs wip RawFilePath 2019-11-25 16:18:19 -04:00
History.hs don't empty historyCommitParents 2019-05-01 13:38:40 -04:00
Hook.hs convert TopFilePath to use RawFilePath 2019-12-09 15:07:21 -04:00
Index.hs convert TopFilePath to use RawFilePath 2019-12-09 15:07:21 -04:00
LockFile.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
LsFiles.hs convert TopFilePath to use RawFilePath 2019-12-09 15:07:21 -04:00
LsTree.hs convert TopFilePath to use RawFilePath 2019-12-09 15:07:21 -04:00
Merge.hs Removed support for git versions older than 2.1 2019-09-11 16:14:43 -04:00
Objects.hs convert TopFilePath to use RawFilePath 2019-12-09 15:07:21 -04:00
Queue.hs remove one more warningIO 2019-11-12 10:45:52 -04:00
Ref.hs convert TopFilePath to use RawFilePath 2019-12-09 15:07:21 -04:00
RefLog.hs wip RawFilePath 2019-11-25 16:18:19 -04:00
Remote.hs all commands building except for assistant 2019-12-05 14:41:18 -04:00
Repair.hs convert TopFilePath to use RawFilePath 2019-12-09 15:07:21 -04:00
Sha.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Ssh.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00
Status.hs convert TopFilePath to use RawFilePath 2019-12-09 15:07:21 -04:00
Tree.hs convert TopFilePath to use RawFilePath 2019-12-09 15:07:21 -04:00
Types.hs convert TopFilePath to use RawFilePath 2019-12-09 15:07:21 -04:00
UnionMerge.hs keep filename ByteString 2019-12-18 15:57:40 -04:00
UpdateIndex.hs convert TopFilePath to use RawFilePath 2019-12-09 15:07:21 -04:00
Url.hs lfs endpoint discovery and caching in git-lfs special remote 2019-08-02 12:38:14 -04:00
Version.hs update licenses from GPL to AGPL 2019-03-13 15:48:14 -04:00