Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 1 | git-verify-pack(1) |
| 2 | ================== |
| 3 | |
| 4 | NAME |
| 5 | ---- |
Junio C Hamano | 076ffcc | 2013-02-06 05:13:21 | [diff] [blame] | 6 | git-verify-pack - Validate packed Git archive files |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 7 | |
| 8 | |
| 9 | SYNOPSIS |
| 10 | -------- |
Junio C Hamano | 15567bc | 2011-07-23 00:51:59 | [diff] [blame] | 11 | [verse] |
Junio C Hamano | 2e9373b | 2011-03-03 01:08:31 | [diff] [blame] | 12 | 'git verify-pack' [-v|--verbose] [-s|--stat-only] [--] <pack>.idx ... |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 13 | |
| 14 | |
| 15 | DESCRIPTION |
| 16 | ----------- |
Junio C Hamano | 076ffcc | 2013-02-06 05:13:21 | [diff] [blame] | 17 | Reads given idx file for packed Git archive created with the |
Junio C Hamano | 1aa40d2 | 2010-01-21 17:46:43 | [diff] [blame] | 18 | 'git pack-objects' command and verifies idx file and the |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 19 | corresponding pack file. |
| 20 | |
| 21 | OPTIONS |
| 22 | ------- |
| 23 | <pack>.idx ...:: |
| 24 | The idx files to verify. |
| 25 | |
| 26 | -v:: |
Junio C Hamano | fd9274d | 2009-08-05 21:21:39 | [diff] [blame] | 27 | --verbose:: |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 28 | After verifying the pack, show list of objects contained |
Junio C Hamano | bed00e7 | 2009-08-24 00:51:45 | [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 | |
Junio C Hamano | 1bb569e | 2006-05-05 23:14:25 | [diff] [blame] | 36 | \--:: |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 37 | Do not interpret any more arguments as options. |
| 38 | |
| 39 | OUTPUT FORMAT |
| 40 | ------------- |
| 41 | When specifying the -v option the format used is: |
| 42 | |
Junio C Hamano | 1dbca52 | 2015-05-22 20:48:55 | [diff] [blame] | 43 | SHA-1 type size size-in-packfile offset-in-packfile |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 44 | |
| 45 | for objects that are not deltified in the pack, and |
| 46 | |
Junio C Hamano | e3f080d | 2013-04-22 02:27:13 | [diff] [blame] | 47 | SHA-1 type size size-in-packfile offset-in-packfile depth base-SHA-1 |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 48 | |
| 49 | for objects that are deltified. |
| 50 | |
Junio C Hamano | 1a4e841 | 2005-12-27 08:17:23 | [diff] [blame] | 51 | GIT |
| 52 | --- |
Junio C Hamano | f7c042d | 2008-06-06 22:50:53 | [diff] [blame] | 53 | Part of the linkgit:git[1] suite |