@matheusbsbs / matheus-bagliano / commits / 1302badd16
Fork 0

blame.c: replace instance of !oidcmp for oideq

0906ac2b (blame: use changed-path Bloom filters, 2020-04-16) introduced a call to oidcmp() that should have been oideq(), which was introduced in 14438c44 (introduce hasheq() and oideq(), 2018-08-28). Signed-off-by: Edmundo Carmona Antoranz <eantoranz@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>

Edmundo Carmona Antoranz committed Sep 8, 2020 at 15:10 UTC 1302badd16ad36bc9441367b240e053130d15f7a
1 file changed +2 -2
blame.c
+2 -2
@@ -1352,8 +1352,8 @@ static struct blame_origin *find_origin(struct repository *r,
1352 else {
1353 int compute_diff = 1;
1354 if (origin->commit->parents &&
1355 - !oidcmp(&parent->object.oid,
1356 - &origin->commit->parents->item->object.oid))
1355 + oideq(&parent->object.oid,
1356 + &origin->commit->parents->item->object.oid))
1357 compute_diff = maybe_changed_path(r, origin, bd);
1358
1359 if (compute_diff)