зеркало из https://github.com/microsoft/git.git
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:
Коммит
e1dd499513
4
blame.c
4
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)
|
||||
|
|
Загрузка…
Ссылка в новой задаче