| 691 | } |
| 692 | |
| 693 | size_t commit_subject_length(const char *body) |
| 694 | { |
| 695 | const char *p = body; |
| 696 | while (*p) { |
| 697 | const char *next = skip_blank_lines(p); |
| 698 | if (next != p) |
| 699 | break; |
| 700 | p = strchrnul(p, '\n'); |
| 701 | if (*p) |
| 702 | p++; |
| 703 | } |
| 704 | return p - body; |
| 705 | } |
| 706 | |
| 707 | struct commit_list *commit_list_insert(struct commit *item, struct commit_list **list_p) |
| 708 | { |
no test coverage detected