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

Function stat_patch_list

apply.c:4301–4313  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4299}
4300
4301static void stat_patch_list(struct apply_state *state, struct patch *patch)
4302{
4303 int files, adds, dels;
4304
4305 for (files = adds = dels = 0 ; patch ; patch = patch->next) {
4306 files++;
4307 adds += patch->lines_added;
4308 dels += patch->lines_deleted;
4309 show_stats(state, patch);
4310 }
4311
4312 print_stat_summary(stdout, files, adds, dels);
4313}
4314
4315static void numstat_patch_list(struct apply_state *state,
4316 struct patch *patch)

Callers 1

apply_patchFunction · 0.85

Calls 2

print_stat_summaryFunction · 0.85
show_statsFunction · 0.70

Tested by

no test coverage detected