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

Function numstat_patch_list

apply.c:4315–4327  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4313}
4314
4315static void numstat_patch_list(struct apply_state *state,
4316 struct patch *patch)
4317{
4318 for ( ; patch; patch = patch->next) {
4319 const char *name;
4320 name = patch->new_name ? patch->new_name : patch->old_name;
4321 if (patch->is_binary)
4322 printf("-\t-\t");
4323 else
4324 printf("%d\t%d\t", patch->lines_added, patch->lines_deleted);
4325 write_name_quoted(name, stdout, state->line_termination);
4326 }
4327}
4328
4329static void show_file_mode_name(const char *newdelete, unsigned int mode, const char *name)
4330{

Callers 1

apply_patchFunction · 0.85

Calls 1

write_name_quotedFunction · 0.85

Tested by

no test coverage detected