blob: 61ca6d04c206dc5667ffe83b8dd3c9cc4d1ab31c [file] [log] [blame]
Junio C Hamano1a4e8412005-12-27 08:17:231git-verify-pack(1)
2==================
3
4NAME
5----
Junio C Hamano076ffcc2013-02-06 05:13:216git-verify-pack - Validate packed Git archive files
Junio C Hamano1a4e8412005-12-27 08:17:237
8
9SYNOPSIS
10--------
Junio C Hamano15567bc2011-07-23 00:51:5911[verse]
Junio C Hamano2e9373b2011-03-03 01:08:3112'git verify-pack' [-v|--verbose] [-s|--stat-only] [--] <pack>.idx ...
Junio C Hamano1a4e8412005-12-27 08:17:2313
14
15DESCRIPTION
16-----------
Junio C Hamano076ffcc2013-02-06 05:13:2117Reads given idx file for packed Git archive created with the
Junio C Hamano1aa40d22010-01-21 17:46:4318'git pack-objects' command and verifies idx file and the
Junio C Hamano1a4e8412005-12-27 08:17:2319corresponding pack file.
20
21OPTIONS
22-------
23<pack>.idx ...::
24The idx files to verify.
25
26-v::
Junio C Hamanofd9274d2009-08-05 21:21:3927--verbose::
Junio C Hamano1a4e8412005-12-27 08:17:2328After verifying the pack, show list of objects contained
Junio C Hamanobed00e72009-08-24 00:51:4529in the pack and a histogram of delta chain length.
30
31-s::
32--stat-only::
33Do not verify the pack contents; only show the histogram of delta
34chain length. With `--verbose`, list of objects is also shown.
35
Junio C Hamano1bb569e2006-05-05 23:14:2536\--::
Junio C Hamano1a4e8412005-12-27 08:17:2337Do not interpret any more arguments as options.
38
39OUTPUT FORMAT
40-------------
41When specifying the -v option the format used is:
42
Junio C Hamano1dbca522015-05-22 20:48:5543SHA-1 type size size-in-packfile offset-in-packfile
Junio C Hamano1a4e8412005-12-27 08:17:2344
45for objects that are not deltified in the pack, and
46
Junio C Hamanoe3f080d2013-04-22 02:27:1347SHA-1 type size size-in-packfile offset-in-packfile depth base-SHA-1
Junio C Hamano1a4e8412005-12-27 08:17:2348
49for objects that are deltified.
50
Junio C Hamano1a4e8412005-12-27 08:17:2351GIT
52---
Junio C Hamanof7c042d2008-06-06 22:50:5353Part of the linkgit:git[1] suite