| 903 | } |
| 904 | |
| 905 | static void dump_quoted_path(const char *head, |
| 906 | const char *prefix, |
| 907 | const char *path, |
| 908 | const char *line_prefix, |
| 909 | const char *c_meta, const char *c_reset) |
| 910 | { |
| 911 | static struct strbuf buf = STRBUF_INIT; |
| 912 | |
| 913 | strbuf_reset(&buf); |
| 914 | strbuf_addstr(&buf, line_prefix); |
| 915 | strbuf_addstr(&buf, c_meta); |
| 916 | strbuf_addstr(&buf, head); |
| 917 | quote_two_c_style(&buf, prefix, path, 0); |
| 918 | strbuf_addstr(&buf, c_reset); |
| 919 | puts(buf.buf); |
| 920 | } |
| 921 | |
| 922 | static void show_combined_header(struct combine_diff_path *elem, |
| 923 | int num_parent, |
no test coverage detected