commit: ignore_non_trailer computes number of bytes to ignore
commit7cb26a1722a7f7d9f1b01f2dcde8fe81d3a96bc1
authorLinus Arver <linusa@google.com>
Fri, 20 Oct 2023 19:01:33 +0000 (20 19:01 +0000)
committerJunio C Hamano <gitster@pobox.com>
Fri, 20 Oct 2023 21:25:12 +0000 (20 14:25 -0700)
tree8be94832292d659787f6a44f42a644387cf0b75b
parentbcb6cae2966cc407ca1afc77413b3ef11103c175
commit: ignore_non_trailer computes number of bytes to ignore

ignore_non_trailer() returns the _number of bytes_ that should be
ignored from the end of the log message. It does not by itself "ignore"
anything.

Rename this function to remove the leading "ignore" verb, to sound more
like a quantity than an action.

Signed-off-by: Linus Arver <linusa@google.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
builtin/commit.c
builtin/merge.c
commit.c
commit.h
trailer.c