Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2020-09-19 03:58:01 +0300
committerJunio C Hamano <gitster@pobox.com>2020-09-19 03:58:01 +0300
commite1dd499513a363434d1ed4cd5e409fea17a93b28 (patch)
tree5145066737d7ab29d8874eb7fcc9f16bb29e407c /blame.c
parent4f4cb66b091c1d87cd42e8a7905b479f3560b28b (diff)
parent1302badd16ad36bc9441367b240e053130d15f7a (diff)
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 1be1cd82a2..b475bfa1c0 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)