| 1055 | } |
| 1056 | |
| 1057 | static int gitdiff_copydst(struct gitdiff_data *state, |
| 1058 | const char *line, |
| 1059 | struct patch *patch) |
| 1060 | { |
| 1061 | patch->is_copy = 1; |
| 1062 | free(patch->new_name); |
| 1063 | patch->new_name = find_name(state->root, line, NULL, state->p_value ? state->p_value - 1 : 0, 0); |
| 1064 | return 0; |
| 1065 | } |
| 1066 | |
| 1067 | static int gitdiff_renamesrc(struct gitdiff_data *state, |
| 1068 | const char *line, |
nothing calls this directly
no test coverage detected