Skip to content

Commit e1dd499

Browse files
committed
Merge branch 'ea/blame-use-oideq'
Code cleanup. * ea/blame-use-oideq: blame.c: replace instance of !oidcmp for oideq
2 parents 4f4cb66 + 1302bad commit e1dd499

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
@@ -1353,8 +1353,8 @@ static struct blame_origin *find_origin(struct repository *r,
13531353
else {
13541354
int compute_diff = 1;
13551355
if (origin->commit->parents &&
1356-
!oidcmp(&parent->object.oid,
1357-
&origin->commit->parents->item->object.oid))
1356+
oideq(&parent->object.oid,
1357+
&origin->commit->parents->item->object.oid))
13581358
compute_diff = maybe_changed_path(r, origin, bd);
13591359

13601360
if (compute_diff)

0 commit comments

Comments
 (0)