diff options
author | Junio C Hamano <gitster@pobox.com> | 2017-12-27 11:58:35 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2017-12-27 11:58:35 -0800 |
commit | 0f1291dcb49cd80bdb333eecb5f978a6a5ac3818 (patch) | |
tree | c8082d36556025d6bcea28f0b0afd313c809c34b /rev-list-options.txt | |
parent | 047135e65db3686c7b168ba029e8545071e5226f (diff) | |
download | git-htmldocs-0f1291dcb49cd80bdb333eecb5f978a6a5ac3818.tar.gz |
Autogenerated HTML docs for v2.15.1-501-g29533f
Diffstat (limited to 'rev-list-options.txt')
-rw-r--r-- | rev-list-options.txt | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/rev-list-options.txt b/rev-list-options.txt index 13501e155..8d8b7f492 100644 --- a/rev-list-options.txt +++ b/rev-list-options.txt @@ -706,6 +706,47 @@ ifdef::git-rev-list[] --unpacked:: Only useful with `--objects`; print the object IDs that are not in packs. + +--filter=<filter-spec>:: + Only useful with one of the `--objects*`; omits objects (usually + blobs) from the list of printed objects. The '<filter-spec>' + may be one of the following: ++ +The form '--filter=blob:none' omits all blobs. ++ +The form '--filter=blob:limit=<n>[kmg]' omits blobs larger than n bytes +or units. n may be zero. The suffixes k, m, and g can be used to name +units in KiB, MiB, or GiB. For example, 'blob:limit=1k' is the same +as 'blob:limit=1024'. ++ +The form '--filter=sparse:oid=<blob-ish>' uses a sparse-checkout +specification contained in the blob (or blob-expression) '<blob-ish>' +to omit blobs that would not be not required for a sparse checkout on +the requested refs. ++ +The form '--filter=sparse:path=<path>' similarly uses a sparse-checkout +specification contained in <path>. + +--no-filter:: + Turn off any previous `--filter=` argument. + +--filter-print-omitted:: + Only useful with `--filter=`; prints a list of the objects omitted + by the filter. Object IDs are prefixed with a ``~'' character. + +--missing=<missing-action>:: + A debug option to help with future "partial clone" development. + This option specifies how missing objects are handled. ++ +The form '--missing=error' requests that rev-list stop with an error if +a missing object is encountered. This is the default action. ++ +The form '--missing=allow-any' will allow object traversal to continue +if a missing object is encountered. Missing objects will silently be +omitted from the results. ++ +The form '--missing=print' is like 'allow-any', but will also print a +list of the missing objects. Object IDs are prefixed with a ``?'' character. endif::git-rev-list[] --no-walk[=(sorted|unsorted)]:: |