summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Jeff King <peff@peff.net>2021-10-05 16:31:08 -0400
committerLibravatar Junio C Hamano <gitster@pobox.com>2021-10-08 15:45:14 -0700
commitc3660cfb031650b0fe384e3e27c06667f7ae5099 (patch)
tree0beccf88e9ad3db7e7307f27907be633ae3e5685
parentt1006: clean up broken objects (diff)
downloadtgif-c3660cfb031650b0fe384e3e27c06667f7ae5099.tar.xz
cat-file: mention --unordered along with --batch-all-objects
The note on ordering for --batch-all-objects was written when that was the only possible ordering. These days we have --unordered, too, so let's point to it. Signed-off-by: Jeff King <peff@peff.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--Documentation/git-cat-file.txt5
1 files changed, 3 insertions, 2 deletions
diff --git a/Documentation/git-cat-file.txt b/Documentation/git-cat-file.txt
index 4eb0421b3f..6467707c6e 100644
--- a/Documentation/git-cat-file.txt
+++ b/Documentation/git-cat-file.txt
@@ -94,8 +94,9 @@ OPTIONS
Instead of reading a list of objects on stdin, perform the
requested batch operation on all objects in the repository and
any alternate object stores (not just reachable objects).
- Requires `--batch` or `--batch-check` be specified. Note that
- the objects are visited in order sorted by their hashes.
+ Requires `--batch` or `--batch-check` be specified. By default,
+ the objects are visited in order sorted by their hashes; see
+ also `--unordered` below.
--buffer::
Normally batch output is flushed after each object is output, so