MCPcopy Index your code
hub / github.com/git/git / cleanup_additional_headers

Function cleanup_additional_headers

log-tree.c:1014–1025  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1012}
1013
1014static void cleanup_additional_headers(struct diff_options *o)
1015{
1016 if (!o->pathspec.nr) {
1017 o->additional_path_headers = NULL;
1018 return;
1019 }
1020 if (!o->additional_path_headers)
1021 return;
1022
1023 strmap_clear(o->additional_path_headers, 0);
1024 FREE_AND_NULL(o->additional_path_headers);
1025}
1026
1027static int do_remerge_diff(struct rev_info *opt,
1028 struct commit_list *parents,

Callers 1

do_remerge_diffFunction · 0.85

Calls 1

strmap_clearFunction · 0.85

Tested by

no test coverage detected