progit2 icon indicating copy to clipboard operation
progit2 copied to clipboard

ch10-maintenance: make pack .idx look like a SHA-1 hash

Open vadcx opened this issue 2 years ago • 0 comments

Changes

-$ git verify-pack -v .git/objects/pack/pack-29…69.idx \
+$ git verify-pack -v .git/objects/pack/pack-e7f…069.idx \

Context

At first I stumbled upon the ellipsis ... here because it seemed like a git/Shell macro to expand paths for packs numbered 29-69. But it's not a short-hand for anything, what was meant here is simply the full SHA-1 hash as part of the file name. So I changed it to look like an actual hex number.

Sufficient attention was paid to keep the second number as it appeared in the book ;)

vadcx avatar Nov 07 '23 17:11 vadcx