diff options
author | Johannes Sixt <j6t@kdbg.org> | 2013-09-02 22:11:26 +0200 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-11-01 13:09:19 -0700 |
commit | 574d370b0633a89f7d62ec4eac08228b26eea06f (patch) | |
tree | 5caa5f8b230df0e0e66084b5f18ba35f9e1afeb6 /Documentation | |
parent | e7b432c521b0177e86eaecd2bd16906b9fc53e10 (diff) | |
download | git-574d370b0633a89f7d62ec4eac08228b26eea06f.tar.gz |
document --exclude option
Signed-off-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation')
-rw-r--r-- | Documentation/rev-list-options.txt | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Documentation/rev-list-options.txt b/Documentation/rev-list-options.txt index 5bdfb42852..7de3ad5427 100644 --- a/Documentation/rev-list-options.txt +++ b/Documentation/rev-list-options.txt @@ -174,6 +174,21 @@ parents) and `--max-parents=-1` (negative numbers denote no upper limit). is automatically prepended if missing. If pattern lacks '?', '{asterisk}', or '[', '/{asterisk}' at the end is implied. +--exclude=<glob-pattern>:: + + Do not include refs matching '<glob-pattern>' that the next `--all`, + `--branches`, `--tags`, `--remotes`, or `--glob` would otherwise + consider. Repetitions of this option accumulate exclusion patterns + up to the next `--all`, `--branches`, `--tags`, `--remotes`, or + `--glob` option (other options or arguments do not clear + accumlated patterns). ++ +The patterns given should not begin with `refs/heads`, `refs/tags`, or +`refs/remotes` when applied to `--branches`, `--tags`, or `--remotes`, +respectively, and they must begin with `refs/` when applied to `--glob` +or `--all`. If a trailing '/{asterisk}' is intended, it must be given +explicitly. + --ignore-missing:: Upon seeing an invalid object name in the input, pretend as if |