1GIT-SHOW-INDEX(1) Git Manual GIT-SHOW-INDEX(1)
2
3
4
6 git-show-index - Show packed archive index
7
9 git show-index
10
12 Read the .idx file for a Git packfile (created with git-pack-objects(1)
13 or git-index-pack(1)) from the standard input, and dump its contents.
14 The output consists of one object per line, with each line containing
15 two or three space-separated columns:
16
17 · the first column is the offset in bytes of the object within the
18 corresponding packfile
19
20 · the second column is the object id of the object
21
22 · if the index version is 2 or higher, the third column contains the
23 CRC32 of the object data
24
25 The objects are output in the order in which they are found in the
26 index file, which should be (in a correctly constructed file) sorted by
27 object id.
28
29 Note that you can get more information on a packfile by calling git-
30 verify-pack(1). However, as this command considers only the index file
31 itself, it’s both faster and more flexible.
32
34 Part of the git(1) suite
35
36
37
38Git 2.26.2 2020-04-20 GIT-SHOW-INDEX(1)