| 1012 | } |
| 1013 | |
| 1014 | static 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 | |
| 1027 | static int do_remerge_diff(struct rev_info *opt, |
| 1028 | struct commit_list *parents, |
no test coverage detected