document --exclude option
Signed-off-by: Johannes Sixt <j6t@kdbg.org> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Johannes Sixt committed
Sep 2, 2013 at 22:11 UTC
574d370b0633a89f7d62ec4eac08228b26eea06f
1 file changed
+15
Documentation/rev-list-options.txt
+15
@@ -174,6 +174,21 @@ parents) and `--max-parents=-1` (negative numbers denote no upper limit).
174
is automatically prepended if missing. If pattern lacks '?', '{asterisk}',
175
or '[', '/{asterisk}' at the end is implied.
176
177
+--exclude=<glob-pattern>::
178
+
179
+ Do not include refs matching '<glob-pattern>' that the next `--all`,
180
+ `--branches`, `--tags`, `--remotes`, or `--glob` would otherwise
181
+ consider. Repetitions of this option accumulate exclusion patterns
182
+ up to the next `--all`, `--branches`, `--tags`, `--remotes`, or
183
+ `--glob` option (other options or arguments do not clear
184
+ accumlated patterns).
185
++
186
+The patterns given should not begin with `refs/heads`, `refs/tags`, or
187
+`refs/remotes` when applied to `--branches`, `--tags`, or `--remotes`,
188
+respectively, and they must begin with `refs/` when applied to `--glob`
189
+or `--all`. If a trailing '/{asterisk}' is intended, it must be given
190
+explicitly.
191
+
192
--ignore-missing::
193
194
Upon seeing an invalid object name in the input, pretend as if