MCPcopy Create free account
hub / github.com/git/git / gitdiff_newmode

Function gitdiff_newmode

apply.c:1019–1025  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1017}
1018
1019static int gitdiff_newmode(struct gitdiff_data *state,
1020 const char *line,
1021 struct patch *patch)
1022{
1023 return parse_mode_line(line, state->patch_input_file, state->linenr,
1024 &patch->new_mode);
1025}
1026
1027static int gitdiff_delete(struct gitdiff_data *state,
1028 const char *line,

Callers 1

gitdiff_newfileFunction · 0.85

Calls 1

parse_mode_lineFunction · 0.85

Tested by

no test coverage detected