git@vger.kernel.org mailing list mirror (one of many)
 help / color / mirror / code / Atom feed
blob e49318a5a0aec7f46c6d23dbff5afcb920fae236 1473 bytes (raw)
name: Documentation/git-show-index.txt 	 # note: path name is non-authoritative(*)

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
 
git-show-index(1)
=================

NAME
----
git-show-index - Show packed archive index


SYNOPSIS
--------
[verse]
'git show-index' [--object-format=<hash-algorithm>]


DESCRIPTION
-----------
Read the `.idx` file for a Git packfile (created with
linkgit:git-pack-objects[1] or linkgit:git-index-pack[1]) from the
standard input, and dump its contents. The output consists of one object
per line, with each line containing two or three space-separated
columns:

  - the first column is the offset in bytes of the object within the
    corresponding packfile

  - the second column is the object id of the object

  - if the index version is 2 or higher, the third column contains the
    CRC32 of the object data

The objects are output in the order in which they are found in the index
file, which should be (in a correctly constructed file) sorted by object
id.

Note that you can get more information on a packfile by calling
linkgit:git-verify-pack[1]. However, as this command considers only the
index file itself, it's both faster and more flexible.

OPTIONS
-------

--object-format=<hash-algorithm>::
	Specify the given object format (hash algorithm) for the index file.  The
	valid values are 'sha1' and (if enabled) 'sha256'.  The default is the
	algorithm for the current repository (set by `extensions.objectFormat`), or
	'sha1' if no value is set or outside a repository..
+
include::object-format-disclaimer.txt[]

GIT
---
Part of the linkgit:git[1] suite

debug log:

solving e49318a5a0 ...
found e49318a5a0 in https://80x24.org/mirrors/git.git

(*) Git path names are given by the tree(s) the blob belongs to.
    Blobs themselves have no identifier aside from the hash of its contents.^

Code repositories for project(s) associated with this public inbox

	https://80x24.org/mirrors/git.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).