summaryrefslogtreecommitdiff
path: root/Documentation/filters.txt
diff options
context:
space:
mode:
authorAaron Lipman <alipman88@gmail.com>2020-09-16 02:08:39 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-09-16 19:38:09 (GMT)
commit415af72b174802a45300039ef2bc1127d48dc0c0 (patch)
tree5467912f3d5dc1ee808e3a63f780747e6bd4b133 /Documentation/filters.txt
parentb775d8122ecec94a99c1a6588a38455cdd41d8e2 (diff)
downloadgit-415af72b174802a45300039ef2bc1127d48dc0c0.zip
git-415af72b174802a45300039ef2bc1127d48dc0c0.tar.gz
git-415af72b174802a45300039ef2bc1127d48dc0c0.tar.bz2
Doc: cover multiple contains/no-contains filters
Update documentation for "git branch", "git for-each-ref" and "git tag" with notes explaining what happens when passed multiple --contains or --no-contains filters. This behavior is useful to document prior to enabling multiple merged/no-merged filters, in order to demonstrate consistent behavior between merged/no-merged and contains/no-contains filters. Signed-off-by: Aaron Lipman <alipman88@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/filters.txt')
-rw-r--r--Documentation/filters.txt3
1 files changed, 3 insertions, 0 deletions
diff --git a/Documentation/filters.txt b/Documentation/filters.txt
new file mode 100644
index 0000000..4ee17af
--- /dev/null
+++ b/Documentation/filters.txt
@@ -0,0 +1,3 @@
+When combining multiple `--contains` and `--no-contains` filters, only
+references that contain at least one of the `--contains` commits and
+contain none of the `--no-contains` commits are shown.