| 4759 | } |
| 4760 | |
| 4761 | static void add_external_diff_name(struct repository *r, |
| 4762 | struct strvec *argv, |
| 4763 | struct diff_filespec *df) |
| 4764 | { |
| 4765 | struct diff_tempfile *temp = prepare_temp_file(r, df); |
| 4766 | strvec_push(argv, temp->name); |
| 4767 | strvec_push(argv, temp->hex); |
| 4768 | strvec_push(argv, temp->mode); |
| 4769 | } |
| 4770 | |
| 4771 | /* An external diff command takes: |
| 4772 | * |
no test coverage detected