convert "hashcmp() != 0" to "!hasheq()"
authorJeff King <peff@peff.net>
Tue, 28 Aug 2018 21:22:52 +0000 (17:22 -0400)
committerJunio C Hamano <gitster@pobox.com>
Wed, 29 Aug 2018 18:32:49 +0000 (11:32 -0700)
commit67947c34ae8f666e72b9406a38984fe8386f5e50
treec9ae21d6995cf9011777cb9d336bfa14f4587fc5
parent9001dc2a7493f1366a183c3a9175f608769321d5
convert "hashcmp() != 0" to "!hasheq()"

This rounds out the previous three patches, covering the
inequality logic for the "hash" variant of the functions.

As with the previous three, the accompanying code changes
are the mechanical result of applying the coccinelle patch;
see those patches for more discussion.

Signed-off-by: Jeff King <peff@peff.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
12 files changed:
builtin/index-pack.c
builtin/show-branch.c
builtin/unpack-objects.c
commit-graph.c
contrib/coccinelle/object_id.cocci
http-walker.c
http.c
pack-check.c
pack-write.c
packfile.c
read-cache.c
sha1-file.c