aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-02-13 14:44:49 -0800
committerJunio C Hamano <gitster@pobox.com>2024-02-13 14:44:49 -0800
commit5193aee2a385bfb65a18eeac5f2aedb95a029e87 (patch)
tree6f4f74b8a11ce831099d9c37c4def5593f6162fd
parent7687ca5a9028a4f0623e3e5e7e1c64a11915d74e (diff)
parent8f50984cf4e1c7562cd96a4064dcdfef181d6b97 (diff)
downloadgit-5193aee2a385bfb65a18eeac5f2aedb95a029e87.tar.gz
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.txt8
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.