From 5d1ad2b4b246e2002c3c51d8a8f053a6b8c52944 Mon Sep 17 00:00:00 2001 From: Joey Hess Date: Mon, 4 Apr 2016 16:10:05 -0400 Subject: [PATCH] comment and improve docs --- doc/git-annex-preferred-content.mdwn | 4 ++-- ...omment_4_4f30e99af93a2eb571f5b084cfa72d0d._comment | 11 +++++++++++ 2 files changed, 13 insertions(+), 2 deletions(-) create mode 100644 doc/git-annex-preferred-content/comment_4_4f30e99af93a2eb571f5b084cfa72d0d._comment diff --git a/doc/git-annex-preferred-content.mdwn b/doc/git-annex-preferred-content.mdwn index 5e2a7a9c5c..4dd484ef17 100644 --- a/doc/git-annex-preferred-content.mdwn +++ b/doc/git-annex-preferred-content.mdwn @@ -225,11 +225,11 @@ elsewhere to allow removing it). * `anything` - Matches any version of any file. + Always matches. * `nothing` - Matches nothing. (Same as "not anything") + Never matches. (Same as "not anything") * `not expression` diff --git a/doc/git-annex-preferred-content/comment_4_4f30e99af93a2eb571f5b084cfa72d0d._comment b/doc/git-annex-preferred-content/comment_4_4f30e99af93a2eb571f5b084cfa72d0d._comment new file mode 100644 index 0000000000..39c859c97c --- /dev/null +++ b/doc/git-annex-preferred-content/comment_4_4f30e99af93a2eb571f5b084cfa72d0d._comment @@ -0,0 +1,11 @@ +[[!comment format=mdwn + username="joey" + subject="""comment 4""" + date="2016-04-04T20:01:42Z" + content=""" +@Don, when a preferred content expression matches +based on the name of a file, it will only match objects used by +files currently in the tree, and not objects used by old versions. + +So, what you want is probably as simple as "include=*" +"""]]