MCPcopy Create free account
hub / github.com/git/git / is_blank_line

Function is_blank_line

pretty.c:624–631  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

622}
623
624static int is_blank_line(const char *line, int *len_p)
625{
626 int len = *len_p;
627 while (len && isspace(line[len - 1]))
628 len--;
629 *len_p = len;
630 return !len;
631}
632
633const char *skip_blank_lines(const char *msg)
634{

Callers 3

skip_blank_linesFunction · 0.70
format_subjectFunction · 0.70
pp_remainderFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected