diff options
author | Junio C Hamano <gitster@pobox.com> | 2024-02-13 23:44:49 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-02-13 23:44:49 +0100 |
commit | 5193aee2a385bfb65a18eeac5f2aedb95a029e87 (patch) | |
tree | 6f4f74b8a11ce831099d9c37c4def5593f6162fd | |
parent | Merge branch 'cp/git-flush-is-an-env-bool' into maint-2.43 (diff) | |
parent | rev-list-options: fix off-by-one in '--filter=blob:limit=<n>' explainer (diff) | |
download | git-5193aee2a385bfb65a18eeac5f2aedb95a029e87.tar.xz git-5193aee2a385bfb65a18eeac5f2aedb95a029e87.zip |
Merge branch 'ne/doc-filter-blob-limit-fix' into maint-2.43
Docfix.
* ne/doc-filter-blob-limit-fix:
rev-list-options: fix off-by-one in '--filter=blob:limit=<n>' explainer
-rw-r--r-- | Documentation/rev-list-options.txt | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Documentation/rev-list-options.txt b/Documentation/rev-list-options.txt index 2bf239ff03..a583b52c61 100644 --- a/Documentation/rev-list-options.txt +++ b/Documentation/rev-list-options.txt @@ -947,10 +947,10 @@ ifdef::git-rev-list[] + 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=blob:limit=<n>[kmg]' omits blobs of size at least 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=object:type=(tag|commit|tree|blob)' omits all objects which are not of the requested type. |