<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE article PUBLIC "-//OASIS//DTD DocBook XML V4.2//EN" "http://www.oasis-open.org/docbook/xml/4.2/docbookx.dtd">

<article lang="en" id="git-verify-pack(1)">
<articleinfo>
    <title>git-verify-pack(1)</title>
        <indexterm>
                <primary>git-verify-pack(1)</primary>
        </indexterm>
</articleinfo>
<simplesect id="_name">
<title>NAME</title>
<simpara>git-verify-pack - Validate packed git archive files</simpara>
</simplesect>
<simplesect id="_synopsis">
<title>SYNOPSIS</title>
<simpara><emphasis>git verify-pack</emphasis> [-v] [--] &lt;pack&gt;.idx &#8230;</simpara>
</simplesect>
<simplesect id="_description">
<title>DESCRIPTION</title>
<simpara>Reads given idx file for packed git archive created with the
<emphasis>git-pack-objects</emphasis> command and verifies idx file and the
corresponding pack file.</simpara>
</simplesect>
<simplesect id="_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>
<listitem>
<simpara>
        After verifying the pack, show list of objects contained
        in the pack.
</simpara>
</listitem>
</varlistentry>
<varlistentry>
<term>
--
</term>
<listitem>
<simpara>
        Do not interpret any more arguments as options.
</simpara>
</listitem>
</varlistentry>
</variablelist>
</simplesect>
<simplesect id="_output_format">
<title>OUTPUT FORMAT</title>
<simpara>When specifying the -v option the format used is:</simpara>
<literallayout class="monospaced">SHA1 type size size-in-pack-file offset-in-packfile</literallayout>
<simpara>for objects that are not deltified in the pack, and</simpara>
<literallayout class="monospaced">SHA1 type size size-in-packfile offset-in-packfile depth base-SHA1</literallayout>
<simpara>for objects that are deltified.</simpara>
</simplesect>
<simplesect id="_author">
<title>Author</title>
<simpara>Written by Junio C Hamano &lt;<ulink url="mailto:gitster@pobox.com">gitster@pobox.com</ulink>&gt;</simpara>
</simplesect>
<simplesect id="_documentation">
<title>Documentation</title>
<simpara>Documentation by Junio C Hamano</simpara>
</simplesect>
<simplesect id="_git">
<title>GIT</title>
<simpara>Part of the <xref linkend="git(1)"/> suite</simpara>
</simplesect>
</article>
