aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-09-13 15:26:51 -0700
committerJunio C Hamano <gitster@pobox.com>2024-09-13 15:26:52 -0700
commitd3d7c8dfb810c44b6f6046134bdbc42110b7bc47 (patch)
treee918e14d2291f282a53cc9f2906df53b29c3a4c5
parent118c74d143ec5d05ca16756bea4ed2ba2a7ad1e9 (diff)
parent4881328617ee714cdef9d92d3ee25b3a4402ed4f (diff)
downloadgit-d3d7c8dfb810c44b6f6046134bdbc42110b7bc47.tar.gz
Merge branch 'aa/cat-file-batch-output-doc' into maint-2.46
Docfix. * aa/cat-file-batch-output-doc: docs: explain the order of output in the batched mode of git-cat-file(1)
-rw-r--r--Documentation/git-cat-file.txt6
1 files changed, 3 insertions, 3 deletions
diff --git a/Documentation/git-cat-file.txt b/Documentation/git-cat-file.txt
index bd95a6c10a..d5890ae368 100644
--- a/Documentation/git-cat-file.txt
+++ b/Documentation/git-cat-file.txt
@@ -270,9 +270,9 @@ BATCH OUTPUT
------------
If `--batch` or `--batch-check` is given, `cat-file` will read objects
-from stdin, one per line, and print information about them. By default,
-the whole line is considered as an object, as if it were fed to
-linkgit:git-rev-parse[1].
+from stdin, one per line, and print information about them in the same
+order as they have been read. By default, the whole line is
+considered as an object, as if it were fed to linkgit:git-rev-parse[1].
When `--batch-command` is given, `cat-file` will read commands from stdin,
one per line, and print information based on the command given. With