* Does it look like the resulting diff might be due to a rename? * - single entry * - not a valid previous file */
| 592 | * - not a valid previous file |
| 593 | */ |
| 594 | static inline int diff_might_be_rename(void) |
| 595 | { |
| 596 | return diff_queued_diff.nr == 1 && |
| 597 | !DIFF_FILE_VALID(diff_queued_diff.queue[0]->one); |
| 598 | } |
| 599 | |
| 600 | static void try_to_follow_renames(const struct object_id *old_oid, |
| 601 | const struct object_id *new_oid, |