]> git.ipfire.org Git - thirdparty/git.git/commit
pack-bitmap-write: use hashwrite_be32() in write_hash_cache()
authorRené Scharfe <l.s.r@web.de>
Sun, 6 Sep 2020 08:59:06 +0000 (10:59 +0200)
committerJunio C Hamano <gitster@pobox.com>
Sun, 6 Sep 2020 20:40:41 +0000 (13:40 -0700)
commit7744a5d6921c457a05224cd7f5554e972df634b0
tree1f496608471e1ca702be6985a41ad755b7a85a6d
parent014f1447f0382b323b53006a65dd2b8383427dc8
pack-bitmap-write: use hashwrite_be32() in write_hash_cache()

Call hashwrite_be32() instead of open-coding it.  This is shorter and
easier to read.

Signed-off-by: René Scharfe <l.s.r@web.de>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
pack-bitmap-write.c