<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE sect2 SYSTEM "../../../dtd/dblite.dtd">

<sect2 lang="en" id="git-verify-pack(1)">
    <title>git-verify-pack(1)</title>
    <date>2024-07-02</date>
<revhistory><revision><date>2024-07-02</date></revision></revhistory>
<indexterm>
<primary>git-verify-pack(1)</primary>
</indexterm>
<simplesect id="git-verify-pack(1)__name">
<title>NAME</title>
<simpara>git-verify-pack - Validate packed Git archive files</simpara>
</simplesect>
<simplesect id="git-verify-pack(1)__synopsis">
<title>SYNOPSIS</title>
<blockquote>
<literallayout><emphasis>git verify-pack</emphasis> [-v | --verbose] [-s | --stat-only] [--] &lt;pack&gt;.idx&#8230;</literallayout>
</blockquote>
</simplesect>
<simplesect id="git-verify-pack(1)__description">
<title>DESCRIPTION</title>
<simpara>Reads given idx file for packed Git archive created with the
<emphasis>git pack-objects</emphasis> command and verifies the idx file and the
corresponding pack file.</simpara>
</simplesect>
<simplesect id="git-verify-pack(1)__options">
<title>OPTIONS</title>
<variablelist>
<varlistentry>
<term>
&lt;pack&gt;.idx &#8230;
</term>
<listitem>
<simpara>
        The idx files to verify.
</simpara>
</listitem>
</varlistentry>
<varlistentry>
<term>
-v
</term>
<term>
--verbose
</term>
<listitem>
<simpara>
        After verifying the pack, show the list of objects contained
        in the pack and a histogram of delta chain length.
</simpara>
</listitem>
</varlistentry>
<varlistentry>
<term>
-s
</term>
<term>
--stat-only
</term>
<listitem>
<simpara>
        Do not verify the pack contents; only show the histogram of delta
        chain length.  With <emphasis>--verbose</emphasis>, the list of objects is also shown.
</simpara>
</listitem>
</varlistentry>
<varlistentry>
<term>
--
</term>
<listitem>
<simpara>
        Do not interpret any more arguments as options.
</simpara>
</listitem>
</varlistentry>
</variablelist>
</simplesect>
<simplesect id="git-verify-pack(1)__output_format">
<title>OUTPUT FORMAT</title>
<simpara>When specifying the -v option the format used is:</simpara>
<literallayout class="monospaced">SHA-1 type size size-in-packfile offset-in-packfile</literallayout>
<simpara>for objects that are not deltified in the pack, and</simpara>
<literallayout class="monospaced">SHA-1 type size size-in-packfile offset-in-packfile depth base-SHA-1</literallayout>
<simpara>for objects that are deltified.</simpara>
</simplesect>
<simplesect id="git-verify-pack(1)__git">
<title>GIT</title>
<simpara>Part of the <xref linkend="git(1)" /> suite</simpara>
</simplesect>
</sect2>
