]> git.ipfire.org Git - thirdparty/git.git/commit
midx: use hashwrite_be64()
authorRené Scharfe <l.s.r@web.de>
Thu, 12 Nov 2020 12:22:16 +0000 (13:22 +0100)
committerJunio C Hamano <gitster@pobox.com>
Thu, 12 Nov 2020 17:40:08 +0000 (09:40 -0800)
commitef1b853c15d443b057e5a6306c89b869168a8270
tree57448ffa4afd1d6648c4a7954b8c2842e0a897a4
parent54273d1042b7a7e9a5635ccf15363eec819cb951
midx: use hashwrite_be64()

Call hashwrite_be64() to write 64-bit values instead of open-coding it
using hashwrite_be32() and sizeof.  This shortens the code and makes its
intent clearer.

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