- if (!DIFF_FILE_VALID(p->one))
- continue; /* does not exist in parent */
- if (porigin && !strcmp(p->one->path, porigin->path))
- /* find_move already dealt with this path */
- continue;
- norigin = get_origin(sb, parent, p->one->path);
- hashcpy(norigin->blob_sha1, p->one->sha1);
- blob = read_sha1_file(norigin->blob_sha1, type,
- (unsigned long *) &file_p.size);
- file_p.ptr = blob;
- if (!file_p.ptr) {
- free(blob);
- continue;
- }
- find_copy_in_blob(sb, e, norigin, this, &file_p);
- copy_split_if_better(sb, split, this);
- free(blob);
+ for (j = 0; j < num_ents; j++) {
+ find_copy_in_blob(sb, blame_list[j].ent, norigin,
+ this, &file_p);
+ copy_split_if_better(sb, blame_list[j].split,
+ this);