]> git.ipfire.org Git - thirdparty/git.git/commit - cache-tree.c
more oideq/hasheq conversions
authorJeff King <peff@peff.net>
Tue, 2 Oct 2018 21:19:21 +0000 (17:19 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 4 Oct 2018 10:42:48 +0000 (03:42 -0700)
commite43d2dcce1db256e95b90f89e06d62834a1d361c
tree72b717680d6b340c71a970c29e7996d0e5b1ec35
parentfe8321ec057f9231c26c29b364721568e58040f7
more oideq/hasheq conversions

We added faster equality-comparison functions for hashes in
14438c4497 (introduce hasheq() and oideq(), 2018-08-28). A
few topics were in-flight at the time, and can now be
converted. This covers all spots found by "make coccicheck"
in master (the coccicheck results were tweaked by hand for
style).

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/checkout.c
cache-tree.c
commit-reach.c
midx.c