зеркало из https://github.com/microsoft/git.git
blame.c: replace instance of !oidcmp for oideq
0906ac2b
(blame: use changed-path Bloom filters, 2020-04-16) introduced a call to oidcmp() that should have been oideq(), which was introduced in14438c44
(introduce hasheq() and oideq(), 2018-08-28). Signed-off-by: Edmundo Carmona Antoranz <eantoranz@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:
Родитель
6d56d4c7dc
Коммит
1302badd16
4
blame.c
4
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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче