tag.c: use 'ref-filter' data structures
[gitweb.git] / Documentation / git-cat-file.txt
index 3568aff0de6bd2afdda7fe8b1ca1e4380e3e956c..3105fc07205ac19805a753603940f9add612d4ae 100644 (file)
@@ -9,7 +9,7 @@ git-cat-file - Provide content or type and size information for repository objec
 SYNOPSIS
 --------
 [verse]
-'git cat-file' (-t | -s | -e | -p | <type> | --textconv ) <object>
+'git cat-file' (-t [--allow-unknown-type]| -s [--allow-unknown-type]| -e | -p | <type> | --textconv ) <object>
 'git cat-file' (--batch | --batch-check) [--follow-symlinks] < <list-of-objects>
 
 DESCRIPTION
@@ -69,6 +69,23 @@ OPTIONS
        not be combined with any other options or arguments.  See the
        section `BATCH OUTPUT` below for details.
 
+--batch-all-objects::
+       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.
+
+--buffer::
+       Normally batch output is flushed after each object is output, so
+       that a process can interactively read and write from
+       `cat-file`. With this option, the output uses normal stdio
+       buffering; this is much more efficient when invoking
+       `--batch-check` on a large number of objects.
+
+--allow-unknown-type::
+       Allow -s or -t to query broken/corrupt objects of unknown type.
+
 --follow-symlinks::
        With --batch or --batch-check, follow symlinks inside the
        repository when requesting objects with extended SHA-1