Junio C Hamano | f925339 | 2005-06-29 02:51:27 -0700 | [diff] [blame] | 1 | git-verify-pack(1) |
| 2 | ================== |
Junio C Hamano | f925339 | 2005-06-29 02:51:27 -0700 | [diff] [blame] | 3 | |
| 4 | NAME |
| 5 | ---- |
Fredrik Kuivinen | 7bd7f28 | 2006-03-09 17:24:50 +0100 | [diff] [blame] | 6 | git-verify-pack - Validate packed git archive files |
Junio C Hamano | f925339 | 2005-06-29 02:51:27 -0700 | [diff] [blame] | 7 | |
| 8 | |
| 9 | SYNOPSIS |
| 10 | -------- |
Martin von Zweigbergk | 7791a1d | 2011-07-01 22:38:26 -0400 | [diff] [blame] | 11 | [verse] |
Junio C Hamano | ec48d4b | 2011-03-01 11:26:22 -0800 | [diff] [blame] | 12 | 'git verify-pack' [-v|--verbose] [-s|--stat-only] [--] <pack>.idx ... |
Junio C Hamano | f925339 | 2005-06-29 02:51:27 -0700 | [diff] [blame] | 13 | |
| 14 | |
| 15 | DESCRIPTION |
| 16 | ----------- |
Jonathan Nieder | 483bc4f | 2008-06-30 13:56:34 -0500 | [diff] [blame] | 17 | Reads given idx file for packed git archive created with the |
Thomas Rast | 0b444cd | 2010-01-10 00:33:00 +0100 | [diff] [blame] | 18 | 'git pack-objects' command and verifies idx file and the |
Junio C Hamano | f925339 | 2005-06-29 02:51:27 -0700 | [diff] [blame] | 19 | corresponding pack file. |
| 20 | |
| 21 | OPTIONS |
| 22 | ------- |
| 23 | <pack>.idx ...:: |
| 24 | The idx files to verify. |
| 25 | |
Junio C Hamano | 5f40520 | 2005-07-14 00:08:05 -0700 | [diff] [blame] | 26 | -v:: |
Stephen Boyd | c9c3c67 | 2009-07-07 22:15:40 -0700 | [diff] [blame] | 27 | --verbose:: |
Junio C Hamano | 5f40520 | 2005-07-14 00:08:05 -0700 | [diff] [blame] | 28 | After verifying the pack, show list of objects contained |
Junio C Hamano | 6c4f3ec | 2009-08-07 15:45:30 -0700 | [diff] [blame] | 29 | 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 | |
sean | e994004 | 2006-05-05 15:05:24 -0400 | [diff] [blame] | 36 | \--:: |
Nikolai Weibull | e293de3 | 2005-12-09 00:28:05 +0100 | [diff] [blame] | 37 | Do not interpret any more arguments as options. |
Junio C Hamano | 5f40520 | 2005-07-14 00:08:05 -0700 | [diff] [blame] | 38 | |
Jonas Fonseca | df8baa4 | 2005-10-03 19:16:30 +0200 | [diff] [blame] | 39 | OUTPUT FORMAT |
| 40 | ------------- |
| 41 | When specifying the -v option the format used is: |
Junio C Hamano | 5f40520 | 2005-07-14 00:08:05 -0700 | [diff] [blame] | 42 | |
Nicolas Pitre | 5f4347b | 2008-02-28 00:25:20 -0500 | [diff] [blame] | 43 | SHA1 type size size-in-pack-file offset-in-packfile |
Junio C Hamano | 5f40520 | 2005-07-14 00:08:05 -0700 | [diff] [blame] | 44 | |
Jonas Fonseca | df8baa4 | 2005-10-03 19:16:30 +0200 | [diff] [blame] | 45 | for objects that are not deltified in the pack, and |
Junio C Hamano | 5f40520 | 2005-07-14 00:08:05 -0700 | [diff] [blame] | 46 | |
Nicolas Pitre | 5f4347b | 2008-02-28 00:25:20 -0500 | [diff] [blame] | 47 | SHA1 type size size-in-packfile offset-in-packfile depth base-SHA1 |
Jonas Fonseca | df8baa4 | 2005-10-03 19:16:30 +0200 | [diff] [blame] | 48 | |
| 49 | for objects that are deltified. |
Junio C Hamano | f925339 | 2005-06-29 02:51:27 -0700 | [diff] [blame] | 50 | |
Junio C Hamano | f925339 | 2005-06-29 02:51:27 -0700 | [diff] [blame] | 51 | GIT |
| 52 | --- |
Christian Couder | 9e1f0a8 | 2008-06-06 09:07:32 +0200 | [diff] [blame] | 53 | Part of the linkgit:git[1] suite |