Merge branch 'la/trailer-cleanups'
Code clean-up. * la/trailer-cleanups: trailer: use offsets for trailer_start/trailer_end trailer: find the end of the log message commit: ignore_non_trailer computes number of bytes to ignore
This commit is contained in:
2
commit.c
2
commit.c
@ -1783,7 +1783,7 @@ const char *find_commit_header(const char *msg, const char *key, size_t *out_len
|
||||
* Returns the number of bytes from the tail to ignore, to be fed as
|
||||
* the second parameter to append_signoff().
|
||||
*/
|
||||
size_t ignore_non_trailer(const char *buf, size_t len)
|
||||
size_t ignored_log_message_bytes(const char *buf, size_t len)
|
||||
{
|
||||
size_t boc = 0;
|
||||
size_t bol = 0;
|
||||
|
Reference in New Issue
Block a user