?
This document uses PHP Chinese website manual Release
git-verify-pack - 驗證打包的Git存檔文件
git verify-pack [-v|--verbose] [-s|--stat-only] [--] <pack>.idx …
讀取給定的idx文件以獲得使用該git pack-objects
命令創(chuàng)建的打包Git歸檔文件,并驗證idx文件和相應的包文件。
<pack>.idx …
要驗證的idx文件。
-v --verbose
驗證包裝后,顯示包裝中包含的物品清單以及三角洲鏈條長度的直方圖。
-s --stat-only
不要驗證包裝內容; 只顯示三角洲鏈長度的直方圖。同時--verbose
,還會顯示對象列表。
--
不要將更多的參數解釋為選項。
指定-v選項時,使用的格式是:
SHA-1 type size size-in-packfile offset-in-packfile
對于沒有在包中分類的對象,以及
SHA-1 type size size-in-packfile offset-in-packfile depth base-SHA-1
用于分析對象。