LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

git-verify-pack

Validate packed Git archive files

TLDR

Verify a pack index file
$ git verify-pack .git/objects/pack/pack-hash.idx
copy
Verify and list all objects in the pack
$ git verify-pack -v .git/objects/pack/pack-hash.idx
copy
Show only delta chain statistics without verifying
$ git verify-pack -s .git/objects/pack/pack-hash.idx
copy

SYNOPSIS

git verify-pack [-v | --verbose] [-s | --stat-only] [--] pack.idx...

DESCRIPTION

git verify-pack reads each given idx file and verifies the corresponding pack file and its index. It reports any corruption or inconsistencies found.With -v, for non-deltified objects it shows: object-name, type, size, size-in-packfile, offset-in-packfile. For deltified objects it additionally shows: depth and base-object-name.

PARAMETERS

-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

INSTALL

sudo apt install git
copy
sudo dnf install git
copy
sudo pacman -S git
copy
sudo apk add git
copy
sudo zypper install git
copy
brew install git
copy
nix profile install nixpkgs#git
copy

SEE ALSO

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid