diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-08-02 11:24:42 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-08-02 11:24:42 -0700 |
commit | 00cc693dd726a1f09a16209505009367a563b077 (patch) | |
tree | f299157c953f4854db012ba5b261b6aa48db81e7 /git-cat-file.txt | |
parent | ce806e3dc4c36670f90e8327bfcb8466e54de9a1 (diff) | |
download | git-htmldocs-00cc693dd726a1f09a16209505009367a563b077.tar.gz |
Autogenerated HTML docs for v1.8.4-rc1-4-gd6cbf
Diffstat (limited to 'git-cat-file.txt')
-rw-r--r-- | git-cat-file.txt | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/git-cat-file.txt b/git-cat-file.txt index 3ddec0b65..10fbc6a37 100644 --- a/git-cat-file.txt +++ b/git-cat-file.txt @@ -88,10 +88,8 @@ BATCH OUTPUT If `--batch` or `--batch-check` is given, `cat-file` will read objects from stdin, one per line, and print information about them. -Each line is split at the first whitespace boundary. All characters -before that whitespace are considered as a whole object name, and are -parsed as if given to linkgit:git-rev-parse[1]. Characters after that -whitespace can be accessed using the `%(rest)` atom (see below). +Each line is considered as a whole object name, and is parsed as if +given to linkgit:git-rev-parse[1]. You can specify the information shown for each object by using a custom `<format>`. The `<format>` is copied literally to stdout for each @@ -112,10 +110,6 @@ newline. The available atoms are: The size, in bytes, that the object takes up on disk. See the note about on-disk sizes in the `CAVEATS` section below. -`rest`:: - The text (if any) found after the first run of whitespace on the - input line (i.e., the "rest" of the line). - If no format is specified, the default format is `%(objectname) %(objecttype) %(objectsize)`. |