summaryrefslogtreecommitdiff
path: root/blame.c
diff options
context:
space:
mode:
authorEdmundo Carmona Antoranz <eantoranz@gmail.com>2020-09-08 21:10:53 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-09-08 22:57:26 (GMT)
commit1302badd16ad36bc9441367b240e053130d15f7a (patch)
tree2f24565ca47d1052edd6aafe5f3c379dd8e7a98d /blame.c
parent6d56d4c7dcd667d28aec28498591723c6febea1c (diff)
downloadgit-1302badd16ad36bc9441367b240e053130d15f7a.zip
git-1302badd16ad36bc9441367b240e053130d15f7a.tar.gz
git-1302badd16ad36bc9441367b240e053130d15f7a.tar.bz2
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>
Diffstat (limited to 'blame.c')
-rw-r--r--blame.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/blame.c b/blame.c
index da7e288..a8abe86 100644
--- a/blame.c
+++ b/blame.c
@@ -1352,8 +1352,8 @@ static struct blame_origin *find_origin(struct repository *r,
else {
int compute_diff = 1;
if (origin->commit->parents &&
- !oidcmp(&parent->object.oid,
- &origin->commit->parents->item->object.oid))
+ oideq(&parent->object.oid,
+ &origin->commit->parents->item->object.oid))
compute_diff = maybe_changed_path(r, origin, bd);
if (compute_diff)