| 1045 | } |
| 1046 | |
| 1047 | static int gitdiff_copysrc(struct gitdiff_data *state, |
| 1048 | const char *line, |
| 1049 | struct patch *patch) |
| 1050 | { |
| 1051 | patch->is_copy = 1; |
| 1052 | free(patch->old_name); |
| 1053 | patch->old_name = find_name(state->root, line, NULL, state->p_value ? state->p_value - 1 : 0, 0); |
| 1054 | return 0; |
| 1055 | } |
| 1056 | |
| 1057 | static int gitdiff_copydst(struct gitdiff_data *state, |
| 1058 | const char *line, |
nothing calls this directly
no test coverage detected