| 1065 | } |
| 1066 | |
| 1067 | static int gitdiff_renamesrc(struct gitdiff_data *state, |
| 1068 | const char *line, |
| 1069 | struct patch *patch) |
| 1070 | { |
| 1071 | patch->is_rename = 1; |
| 1072 | free(patch->old_name); |
| 1073 | patch->old_name = find_name(state->root, line, NULL, state->p_value ? state->p_value - 1 : 0, 0); |
| 1074 | return 0; |
| 1075 | } |
| 1076 | |
| 1077 | static int gitdiff_renamedst(struct gitdiff_data *state, |
| 1078 | const char *line, |
nothing calls this directly
no test coverage detected