]> git.ipfire.org Git - thirdparty/git.git/commit
pack-bitmap: make bitmap header handling hash agnostic
authorbrian m. carlson <sandals@crustytoothpaste.net>
Tue, 19 Feb 2019 00:04:54 +0000 (00:04 +0000)
committerJunio C Hamano <gitster@pobox.com>
Mon, 1 Apr 2019 02:57:37 +0000 (11:57 +0900)
commit0f4d6cada83dc6bd6b6b24dc0d2b3e6460c645cb
tree1f2f29232c58ef66350f6c8eef4fae77a35b8fd4
parent5a8643eff1e59f1cf96da9875d5716e88f480710
pack-bitmap: make bitmap header handling hash agnostic

Increase the checksum field in struct bitmap_disk_header to be
GIT_MAX_RAWSZ bytes in length and ensure that we hash the proper number
of bytes out when computing the bitmap checksum.

Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
pack-bitmap-write.c
pack-bitmap.c
pack-bitmap.h