summaryrefslogtreecommitdiffstats
path: root/man1/git-for-each-ref.1
diff options
context:
space:
mode:
Diffstat (limited to 'man1/git-for-each-ref.1')
-rw-r--r--man1/git-for-each-ref.114
1 files changed, 11 insertions, 3 deletions
diff --git a/man1/git-for-each-ref.1 b/man1/git-for-each-ref.1
index 1a9ba3615..62308643c 100644
--- a/man1/git-for-each-ref.1
+++ b/man1/git-for-each-ref.1
@@ -2,12 +2,12 @@
.\" Title: git-for-each-ref
.\" Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
-.\" Date: 2023-07-18
+.\" Date: 2023-07-21
.\" Manual: Git Manual
-.\" Source: Git 2.41.0.376.gcba07a324d
+.\" Source: Git 2.41.0.394.ge43f4fd0bd
.\" Language: English
.\"
-.TH "GIT\-FOR\-EACH\-REF" "1" "2023\-07\-18" "Git 2\&.41\&.0\&.376\&.gcba07a" "Git Manual"
+.TH "GIT\-FOR\-EACH\-REF" "1" "2023\-07\-21" "Git 2\&.41\&.0\&.394\&.ge43f4f" "Git Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
@@ -38,6 +38,7 @@ git-for-each-ref \- Output information on each ref
[\-\-points\-at=<object>]
[\-\-merged[=<object>]] [\-\-no\-merged[=<object>]]
[\-\-contains[=<object>]] [\-\-no\-contains[=<object>]]
+ [\-\-exclude=<pattern> \&...]
.fi
.sp
.SH "DESCRIPTION"
@@ -162,6 +163,13 @@ Sorting and filtering refs are case insensitive\&.
.RS 4
Do not print a newline after formatted refs where the format expands to the empty string\&.
.RE
+.PP
+\-\-exclude=<pattern>
+.RS 4
+If one or more patterns are given, only refs which do not match any excluded pattern(s) are shown\&. Matching is done using the same rules as
+\fB<pattern>\fR
+above\&.
+.RE
.SH "FIELD NAMES"
.sp
Various values from structured fields in referenced objects can be used to interpolate into the resulting output, or as sort keys\&.