blob: d7e886918aa7af8accc73737e51cacc38118f747 [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 Hamanocf9c7732022-10-28 18:56:0612'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 Hamano33be8212023-10-23 21:45:5418'git pack-objects' command and verifies the 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 Hamano33be8212023-10-23 21:45:5428After verifying the pack, show the 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
Junio C Hamano33be8212023-10-23 21:45:5434chain length. With `--verbose`, the list of objects is also shown.
Junio C Hamanobed00e72009-08-24 00:51:4535
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