Re: [PATCH 04/17] chunk-format.h: extract oid_version()
- From
Taylor Blau <me@ttaylorr.com>
- Date
- Dec 3, 2021, 22:40 UTC
- Message-ID
- <Yaqc6FYo1pLhsNSB@nand.local>
- In-Reply-To
- <2d5456f6-5a4d-1600-83f3-2b6d3e1b270a@gmail.com>
On Thu, Dec 02, 2021 at 10:22:05AM -0500, Derrick Stolee wrote:
> I notice that you don't use this in load_pack_mtimes_file(), > in pack-mtimes.c but you could at this point.
Hmm, I'm confused. Te extracted function converts a pointer to a struct git_hash_algo into a uint32, but here we just care about reading the four byte value we wrote.
Thanks, Taylor