Merge branch 'ea/blame-use-oideq'

Code cleanup.

* ea/blame-use-oideq:
  blame.c: replace instance of !oidcmp for oideq
This commit is contained in:
Junio C Hamano 2020-09-18 17:58:01 -07:00
Родитель 4f4cb66b09 1302badd16
Коммит e1dd499513
1 изменённых файлов: 2 добавлений и 2 удалений

Просмотреть файл

@ -1353,8 +1353,8 @@ static struct blame_origin *find_origin(struct repository *r,
else { else {
int compute_diff = 1; int compute_diff = 1;
if (origin->commit->parents && if (origin->commit->parents &&
!oidcmp(&parent->object.oid, oideq(&parent->object.oid,
&origin->commit->parents->item->object.oid)) &origin->commit->parents->item->object.oid))
compute_diff = maybe_changed_path(r, origin, bd); compute_diff = maybe_changed_path(r, origin, bd);
if (compute_diff) if (compute_diff)