summaryrefslogtreecommitdiff
path: root/blame.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-09-19 00:58:01 (GMT)
committerJunio C Hamano <gitster@pobox.com>2020-09-19 00:58:01 (GMT)
commite1dd499513a363434d1ed4cd5e409fea17a93b28 (patch)
tree5145066737d7ab29d8874eb7fcc9f16bb29e407c /blame.c
parent4f4cb66b091c1d87cd42e8a7905b479f3560b28b (diff)
parent1302badd16ad36bc9441367b240e053130d15f7a (diff)
downloadgit-e1dd499513a363434d1ed4cd5e409fea17a93b28.zip
git-e1dd499513a363434d1ed4cd5e409fea17a93b28.tar.gz
git-e1dd499513a363434d1ed4cd5e409fea17a93b28.tar.bz2
Merge branch 'ea/blame-use-oideq'
Code cleanup. * ea/blame-use-oideq: blame.c: replace instance of !oidcmp for oideq
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 1be1cd8..b475bfa 100644
--- a/blame.c
+++ b/blame.c
@@ -1353,8 +1353,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)