blob: 6b456b93e87682ae46f992091f5ba31c5ee50bb6 [file] [log] [blame]
'\" 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-29
.\" Manual: Git Manual
.\" Source: Git 2.45.0
.\" Language: English
.\"
.TH "GIT\-VERIFY\-PACK" "1" "2024\-04\-29" "Git 2\&.45\&.0" "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