| 2075 | } |
| 2076 | |
| 2077 | static void wt_shortstatus_other(struct string_list_item *it, |
| 2078 | struct wt_status *s, const char *sign) |
| 2079 | { |
| 2080 | color_fprintf(s->fp, color(WT_STATUS_UNTRACKED, s), "%s", sign); |
| 2081 | if (s->null_termination) { |
| 2082 | fprintf(s->fp, " %s%c", it->string, 0); |
| 2083 | } else { |
| 2084 | struct strbuf onebuf = STRBUF_INIT; |
| 2085 | const char *one; |
| 2086 | one = quote_path(it->string, s->prefix, &onebuf, QUOTE_PATH_QUOTE_SP); |
| 2087 | fprintf(s->fp, " %s\n", one); |
| 2088 | strbuf_release(&onebuf); |
| 2089 | } |
| 2090 | } |
| 2091 | |
| 2092 | static void wt_shortstatus_print_tracking(struct wt_status *s) |
| 2093 | { |
no test coverage detected