author | Junio C Hamano <junkio@cox.net> | |
Fri, 1 Jul 2005 00:17:20 +0000 (17:17 -0700) | ||
committer | Linus Torvalds <torvalds@ppc970.osdl.org> | |
Fri, 1 Jul 2005 05:33:47 +0000 (22:33 -0700) | ||
commit | ad8c80a58f7bf8f7d5d34794355e5540cd7b3218 | |
tree | a8f07fbbf3cc86876ba4ec8f534592294b57fa1c | tree | snapshot |
parent | f3bf92240956241e6b21e80a1c281ec7716b9f23 | commit | diff |
[PATCH] Show more details of packfile with verify-pack -v.
This implements show_pack_info() function used in verify-pack
command when -v flag is used to obtain something like
unpack-objects used to give when it was first written.
It shows the following for each non-deltified object found in
the pack:
SHA1 type size offset
For deltified objects, it shows this instead:
SHA1 type size offset depth base_sha1
In order to get the output in the order that appear in the pack
file for debugging purposes, you can do this:
$ git-verify-pack -v packfile | sort -n -k 4,4
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
This implements show_pack_info() function used in verify-pack
command when -v flag is used to obtain something like
unpack-objects used to give when it was first written.
It shows the following for each non-deltified object found in
the pack:
SHA1 type size offset
For deltified objects, it shows this instead:
SHA1 type size offset depth base_sha1
In order to get the output in the order that appear in the pack
file for debugging purposes, you can do this:
$ git-verify-pack -v packfile | sort -n -k 4,4
Signed-off-by: Junio C Hamano <junkio@cox.net>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
cache.h | diff | blob | history | |
pack-check.c | diff | blob | history | |
sha1_file.c | diff | blob | history |