| 1631 | } |
| 1632 | |
| 1633 | static void emit_diff_symbol(struct diff_options *o, enum diff_symbol s, |
| 1634 | const char *line, int len, unsigned flags) |
| 1635 | { |
| 1636 | struct emitted_diff_symbol e = { |
| 1637 | .line = line, .len = len, .flags = flags, .s = s |
| 1638 | }; |
| 1639 | |
| 1640 | if (o->emitted_symbols) |
| 1641 | append_emitted_diff_symbol(o, &e); |
| 1642 | else |
| 1643 | emit_diff_symbol_from_struct(o, &e); |
| 1644 | } |
| 1645 | |
| 1646 | void diff_emit_submodule_del(struct diff_options *o, const char *line) |
| 1647 | { |
no test coverage detected