'\" t
.\"     Title: git-verify-pack
.\"    Author: [FIXME: author] [see http://docbook.sf.net/el/author]
.\" Generator: DocBook XSL Stylesheets v1.78.1 <http://docbook.sf.net/>
.\"      Date: 01/13/2026
.\"    Manual: Git Manual
.\"    Source: Git 1.8.3.1
.\"  Language: English
.\"
.TH "GIT\-VERIFY\-PACK" "1" "01/13/2026" "Git 1\&.8\&.3\&.1" "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 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 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
\-\-verbose, 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\-pack\-file 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
