Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/Documentation/git-show-index.adoc # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / Documentation / git-show-index.adoc` 52 lines ยท 1492 bytes Raw Blame History 1 git-show-index(1) 2 ================= 3 4 NAME 5 ---- 6 git-show-index - Show packed archive index 7 8 9 SYNOPSIS 10 -------- 11 [verse] 12 'git show-index' [--object-format=] < 13 14 15 DESCRIPTION 16 ----------- 17 Read the `.idx` file for a Git packfile (created with 18 linkgit:git-pack-objects[1] or linkgit:git-index-pack[1]) from the 19 standard input, and dump its contents. The output consists of one object 20 per line, with each line containing two or three space-separated 21 columns: 22 23 - the first column is the offset in bytes of the object within the 24 corresponding packfile 25 26 - the second column is the object id of the object 27 28 - if the index version is 2 or higher, the third column contains the 29 CRC32 of the object data 30 31 The objects are output in the order in which they are found in the index 32 file, which should be (in a correctly constructed file) sorted by object 33 id. 34 35 Note that you can get more information on a packfile by calling 36 linkgit:git-verify-pack[1]. However, as this command considers only the 37 index file itself, it's both faster and more flexible. 38 39 OPTIONS 40 ------- 41 42 --object-format=:: 43 Specify the given object format (hash algorithm) for the index file. The 44 valid values are 'sha1' and (if enabled) 'sha256'. The default is the 45 algorithm for the current repository (set by `extensions.objectFormat`), or 46 'sha1' if no value is set or outside a repository.. 47 + 48 include::object-format-disclaimer.adoc[] 49 50 GIT 51 --- 52 Part of the linkgit:git[1] suite