diff options
author | Junio C Hamano <gitster@pobox.com> | 2020-09-19 03:58:01 +0300 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-09-19 03:58:01 +0300 |
commit | e1dd499513a363434d1ed4cd5e409fea17a93b28 (patch) | |
tree | 5145066737d7ab29d8874eb7fcc9f16bb29e407c /blame.c | |
parent | 4f4cb66b091c1d87cd42e8a7905b479f3560b28b (diff) | |
parent | 1302badd16ad36bc9441367b240e053130d15f7a (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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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) |