blob: d7e886918aa7af8accc73737e51cacc38118f747 [file] [log] [blame]
Junio C Hamanof9253392005-06-29 02:51:27 -07001git-verify-pack(1)
2==================
Junio C Hamanof9253392005-06-29 02:51:27 -07003
4NAME
5----
Thomas Ackermann2de9b712013-01-21 20:17:53 +01006git-verify-pack - Validate packed Git archive files
Junio C Hamanof9253392005-06-29 02:51:27 -07007
8
9SYNOPSIS
10--------
Martin von Zweigbergk7791a1d2011-07-01 22:38:26 -040011[verse]
Ævar Arnfjörð Bjarmasone2f4e7e2022-10-13 17:39:06 +020012'git verify-pack' [-v | --verbose] [-s | --stat-only] [--] <pack>.idx...
Junio C Hamanof9253392005-06-29 02:51:27 -070013
14
15DESCRIPTION
16-----------
Thomas Ackermann2de9b712013-01-21 20:17:53 +010017Reads given idx file for packed Git archive created with the
Elijah Newren0a4f0512023-10-08 06:45:17 +000018'git pack-objects' command and verifies the idx file and the
Junio C Hamanof9253392005-06-29 02:51:27 -070019corresponding pack file.
20
21OPTIONS
22-------
23<pack>.idx ...::
24 The idx files to verify.
25
Junio C Hamano5f405202005-07-14 00:08:05 -070026-v::
Stephen Boydc9c3c672009-07-07 22:15:40 -070027--verbose::
Elijah Newren0a4f0512023-10-08 06:45:17 +000028 After verifying the pack, show the list of objects contained
Junio C Hamano6c4f3ec2009-08-07 15:45:30 -070029 in the pack and a histogram of delta chain length.
30
31-s::
32--stat-only::
33 Do not verify the pack contents; only show the histogram of delta
Elijah Newren0a4f0512023-10-08 06:45:17 +000034 chain length. With `--verbose`, the list of objects is also shown.
Junio C Hamano6c4f3ec2009-08-07 15:45:30 -070035
seane9940042006-05-05 15:05:24 -040036\--::
Nikolai Weibulle293de32005-12-09 00:28:05 +010037 Do not interpret any more arguments as options.
Junio C Hamano5f405202005-07-14 00:08:05 -070038
Jonas Fonsecadf8baa42005-10-03 19:16:30 +020039OUTPUT FORMAT
40-------------
41When specifying the -v option the format used is:
Junio C Hamano5f405202005-07-14 00:08:05 -070042
Patrick Steinhardtd017a452015-05-17 08:56:52 +020043 SHA-1 type size size-in-packfile offset-in-packfile
Junio C Hamano5f405202005-07-14 00:08:05 -070044
Jonas Fonsecadf8baa42005-10-03 19:16:30 +020045for objects that are not deltified in the pack, and
Junio C Hamano5f405202005-07-14 00:08:05 -070046
Thomas Ackermannd5fa1f12013-04-15 19:49:04 +020047 SHA-1 type size size-in-packfile offset-in-packfile depth base-SHA-1
Jonas Fonsecadf8baa42005-10-03 19:16:30 +020048
49for objects that are deltified.
Junio C Hamanof9253392005-06-29 02:51:27 -070050
Junio C Hamanof9253392005-06-29 02:51:27 -070051GIT
52---
Christian Couder9e1f0a82008-06-06 09:07:32 +020053Part of the linkgit:git[1] suite