| 1075 | } |
| 1076 | |
| 1077 | static int gitdiff_renamedst(struct gitdiff_data *state, |
| 1078 | const char *line, |
| 1079 | struct patch *patch) |
| 1080 | { |
| 1081 | patch->is_rename = 1; |
| 1082 | free(patch->new_name); |
| 1083 | patch->new_name = find_name(state->root, line, NULL, state->p_value ? state->p_value - 1 : 0, 0); |
| 1084 | return 0; |
| 1085 | } |
| 1086 | |
| 1087 | static int gitdiff_similarity(struct gitdiff_data *state UNUSED, |
| 1088 | const char *line, |
nothing calls this directly
no test coverage detected