From 81457e02ddf833df56112a8afaf25f57ecd07076 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Tue, 2 Feb 2016 14:42:13 -0400 Subject: add "nothing" to preferred content DSL Same as "not anything"; will be particularly useful in annex.largefiles gitattributes. --- doc/git-annex-preferred-content.mdwn | 4 ++++ doc/preferred_content.mdwn | 1 + 2 files changed, 5 insertions(+) (limited to 'doc') diff --git a/doc/git-annex-preferred-content.mdwn b/doc/git-annex-preferred-content.mdwn index 8ac8df022..c8c5d06af 100644 --- a/doc/git-annex-preferred-content.mdwn +++ b/doc/git-annex-preferred-content.mdwn @@ -218,6 +218,10 @@ elsewhere to allow removing it). Matches any version of any file. +* `nothing` + + Matches nothing. (Same as "not anything") + * `not expression` Inverts what the expression matches. For example, `not include=archive/*` diff --git a/doc/preferred_content.mdwn b/doc/preferred_content.mdwn index 26db05491..f8c6ce6cd 100644 --- a/doc/preferred_content.mdwn +++ b/doc/preferred_content.mdwn @@ -58,6 +58,7 @@ it assumes all files that are currently present are preferred content. Here are recent changes to preferred content expressions, and the version they were added in. +* "nothing" 6.201600202 * "anything" 5.20150616 * "standard" 5.20140314 (only when used in a more complicated expression; "standard" by -- cgit v1.2.3