git-verify-pack(1)

git-verify-pack1

Validate packed git archive files

Usage

git verify-pack [{-v | --verbose}] [{-s | --stat-only}] [--] <pack>.idx ...

Overview

Read each idx file for packed Git archive given on the command line, and verify the idx file and the corresponding pack file.

Options

-v, --verbose

After verifying the pack, show the list of objects contained in the pack and a histogram of delta chain length.

-s, --stat-only

Do not verify the pack contents; only show the histogram of delta chain length. With --verbose, the list of objects is also shown.

--

Do not interpret any more arguments as options.

Output format

When specifying the -v option the format used is:

object-name type size size-in-packfile offset-in-packfile

for objects that are not deltified in the pack, and

object-name type size size-in-packfile offset-in-packfile depth base-object-name

for objects that are deltified.

Git

Part of the git(1) suite

Releases

11 releases since Debian 4.0 (Etch); the text changed 10 times.

  1. 4.0
  2. 5.0
  3. 6.0
  4. 7
  5. 8
  6. 9
  7. 10
  8. 11
  9. 12
  10. 13
  11. Arch

--stat-only since Debian 6.0 (Squeeze); --verbose since Debian 6.0 (Squeeze); -s since Debian 6.0 (Squeeze).

From git 2.56.0-1 in Arch Linux 2026-11-01. Parsed by carta from the page's man source.