blob: cd230769fdc6db2575d274d2a64608fe414c0d2e [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----
Fredrik Kuivinen7bd7f282006-03-09 17:24:50 +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]
Junio C Hamanoec48d4b2011-03-01 11:26:22 -080012'git verify-pack' [-v|--verbose] [-s|--stat-only] [--] <pack>.idx ...
Junio C Hamanof9253392005-06-29 02:51:27 -070013
14
15DESCRIPTION
16-----------
Jonathan Nieder483bc4f2008-06-30 13:56:34 -050017Reads given idx file for packed git archive created with the
Thomas Rast0b444cd2010-01-10 00:33:00 +010018'git pack-objects' command and verifies 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::
Junio C Hamano5f405202005-07-14 00:08:05 -070028 After verifying the pack, show 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
34 chain length. With `--verbose`, list of objects is also shown.
35
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
Nicolas Pitre5f4347b2008-02-28 00:25:20 -050043 SHA1 type size size-in-pack-file 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
Nicolas Pitre5f4347b2008-02-28 00:25:20 -050047 SHA1 type size size-in-packfile offset-in-packfile depth base-SHA1
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