Skip to content

Commit b1792f5

Browse files
committed
Merge branch 'jt/doc-rev-list-filter-provided-objects'
Document "rev-list --filter-provided-objects" better. * jt/doc-rev-list-filter-provided-objects: docs: clarify git-rev-list(1) --filter behavior
2 parents 02e9bc3 + 6d8dc99 commit b1792f5

1 file changed

Lines changed: 3 additions & 1 deletion

File tree

Documentation/rev-list-options.adoc

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -983,7 +983,9 @@ to name units in KiB, MiB, or GiB. For example, `blob:limit=1k`
983983
is the same as 'blob:limit=1024'.
984984
+
985985
The form `--filter=object:type=(tag|commit|tree|blob)` omits all objects
986-
which are not of the requested type.
986+
which are not of the requested type. Note that explicitly provided objects
987+
ignore filters and are always printed unless `--filter-provided-objects` is
988+
also specified.
987989
+
988990
The form `--filter=sparse:oid=<blob-ish>` uses a sparse-checkout
989991
specification contained in the blob (or blob-expression) _<blob-ish>_

0 commit comments

Comments
 (0)