Empty context lines may omit the leading ' ' */
| 531 | |
| 532 | /* Empty context lines may omit the leading ' ' */ |
| 533 | static int normalize_marker(const char *p) |
| 534 | { |
| 535 | return p[0] == '\n' || (p[0] == '\r' && p[1] == '\n') ? ' ' : p[0]; |
| 536 | } |
| 537 | |
| 538 | static int parse_diff(struct add_p_state *s, const struct pathspec *ps) |
| 539 | { |
no outgoing calls
no test coverage detected