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

Function next_line

trailer.c:807–811  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

805}
806
807static const char *next_line(const char *str)
808{
809 const char *nl = strchrnul(str, '\n');
810 return nl + !!*nl;
811}
812
813/*
814 * Return the position of the start of the last line. If len is 0, return -1.

Callers 2

find_end_of_log_messageFunction · 0.70
find_trailer_block_startFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected