[PATCH v2] blame.c: replace instance of !oidcmp for oideq
- From
Edmundo Carmona Antoranz <eantoranz@gmail.com>
- Date
- Sep 8, 2020, 21:10 UTC
- Message-ID
- <20200908211053.807194-1-eantoranz@gmail.com>
0906ac2b54b introduced a call to oidcmp() that should be replaced by oideq() (the latter introduced in 14438c4).
Signed-off-by: Edmundo Carmona Antoranz <eantoranz@gmail.com> --- blame.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/blame.c b/blame.c index da7e28800e..a8abe86ae4 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)
-- 2.28.0