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

Function skip_blank_lines

pretty.c:633–645  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

631}
632
633const char *skip_blank_lines(const char *msg)
634{
635 for (;;) {
636 int linelen = get_one_line(msg);
637 int ll = linelen;
638 if (!linelen)
639 break;
640 if (!is_blank_line(msg, &ll))
641 break;
642 msg += linelen;
643 }
644 return msg;
645}
646
647static void add_merge_info(const struct pretty_print_context *pp,
648 struct strbuf *sb, const struct commit *commit)

Callers 6

append_squash_messageFunction · 0.85
parse_commit_messageFunction · 0.85
pretty_print_commitFunction · 0.85
find_commit_subjectFunction · 0.85
commit_subject_lengthFunction · 0.85
prepare_to_commitFunction · 0.85

Calls 2

get_one_lineFunction · 0.85
is_blank_lineFunction · 0.70

Tested by

no test coverage detected