aboutsummaryrefslogtreecommitdiff
path: root/bpkg/rep-add.cli
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2018-04-30 22:55:13 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2018-05-02 11:41:23 +0300
commit4ebe65d7dda10909995c7460050811f05205e0ee (patch)
tree28c9c2c10ff2066483ab6ca1408fcf5362cceaf8 /bpkg/rep-add.cli
parent58d5690f5a0e706e2ea8b899819d0c3db22f4793 (diff)
Add support for default and excluding git ref filters
Diffstat (limited to 'bpkg/rep-add.cli')
-rw-r--r--bpkg/rep-add.cli3
1 files changed, 3 insertions, 0 deletions
diff --git a/bpkg/rep-add.cli b/bpkg/rep-add.cli
index f53dded..126d4e1 100644
--- a/bpkg/rep-add.cli
+++ b/bpkg/rep-add.cli
@@ -144,6 +144,9 @@ namespace bpkg
.../foo.git#/tags/v* - refs/tags/v1.2.3 only
\
+ While a \ci{refname} pattern may not match any references, a non-pattern
+ that doesn't resolve to a reference is invalid.
+
If a \ci{refname} starts with \cb{-} then it is treated as an exclusion
filter \- any references that it matches are excluded from the set
included by the preceding filters (or the default set). For example: