Skip to content

Commit 1302bad

Browse files
eantoranzgitster
authored andcommitted
blame.c: replace instance of !oidcmp for oideq
0906ac2 (blame: use changed-path Bloom filters, 2020-04-16) introduced a call to oidcmp() that should have been oideq(), which was introduced in 14438c4 (introduce hasheq() and oideq(), 2018-08-28). Signed-off-by: Edmundo Carmona Antoranz <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 6d56d4c commit 1302bad

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

blame.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1352,8 +1352,8 @@ static struct blame_origin *find_origin(struct repository *r,
13521352
else {
13531353
int compute_diff = 1;
13541354
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))
13571357
compute_diff = maybe_changed_path(r, origin, bd);
13581358

13591359
if (compute_diff)

0 commit comments

Comments
 (0)