summaryrefslogtreecommitdiffstats
path: root/man1/git-verify-pack.1
blob: e900b55c528f8b12ae8b54d52e16b22657dfe16e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
'\" t
.\"     Title: git-verify-pack
.\"    Author: [FIXME: author] [see http://www.docbook.org/tdg5/en/html/author]
.\" Generator: DocBook XSL Stylesheets vsnapshot <http://docbook.sf.net/>
.\"      Date: 2024-04-23
.\"    Manual: Git Manual
.\"    Source: Git 2.45.0.rc0.48.g10f1281498
.\"  Language: English
.\"
.TH "GIT\-VERIFY\-PACK" "1" "2024\-04\-23" "Git 2\&.45\&.0\&.rc0\&.48\&.g1" "Git Manual"
.\" -----------------------------------------------------------------
.\" * Define some portability stuff
.\" -----------------------------------------------------------------
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.\" http://bugs.debian.org/507673
.\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html
.\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.ie \n(.g .ds Aq \(aq
.el       .ds Aq '
.\" -----------------------------------------------------------------
.\" * set default formatting
.\" -----------------------------------------------------------------
.\" disable hyphenation
.nh
.\" disable justification (adjust text to left margin only)
.ad l
.\" -----------------------------------------------------------------
.\" * MAIN CONTENT STARTS HERE *
.\" -----------------------------------------------------------------
.SH "NAME"
git-verify-pack \- Validate packed Git archive files
.SH "SYNOPSIS"
.sp
.nf
\fIgit verify\-pack\fR [\-v | \-\-verbose] [\-s | \-\-stat\-only] [\-\-] <pack>\&.idx\&...
.fi
.sp
.SH "DESCRIPTION"
.sp
Reads given idx file for packed Git archive created with the \fIgit pack\-objects\fR command and verifies the idx file and the corresponding pack file\&.
.SH "OPTIONS"
.PP
<pack>\&.idx \&...
.RS 4
The idx files to verify\&.
.RE
.PP
\-v, \-\-verbose
.RS 4
After verifying the pack, show the list of objects contained in the pack and a histogram of delta chain length\&.
.RE
.PP
\-s, \-\-stat\-only
.RS 4
Do not verify the pack contents; only show the histogram of delta chain length\&. With
\fB\-\-verbose\fR, the list of objects is also shown\&.
.RE
.PP
\-\-
.RS 4
Do not interpret any more arguments as options\&.
.RE
.SH "OUTPUT FORMAT"
.sp
When specifying the \-v option the format used is:
.sp
.if n \{\
.RS 4
.\}
.nf
SHA\-1 type size size\-in\-packfile offset\-in\-packfile
.fi
.if n \{\
.RE
.\}
.sp
for objects that are not deltified in the pack, and
.sp
.if n \{\
.RS 4
.\}
.nf
SHA\-1 type size size\-in\-packfile offset\-in\-packfile depth base\-SHA\-1
.fi
.if n \{\
.RE
.\}
.sp
for objects that are deltified\&.
.SH "GIT"
.sp
Part of the \fBgit\fR(1) suite