summaryrefslogtreecommitdiff
path: root/commit.c
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-02-08 16:22:09 -0800
committerJunio C Hamano <gitster@pobox.com>2024-02-08 16:22:09 -0800
commit541d0d75e781fad5761414d7a5500b8840f3e5bb (patch)
treeefd22786b282e2381297e801cb42be49226a6cf9 /commit.c
parentedf4c0d42b75fb1a94a21db75d020472cc0a6cf2 (diff)
parentde7c27a1869953158436e60542ea556d78c3f4c2 (diff)
Merge branch 'la/trailer-cleanups' into maint-2.43
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
Diffstat (limited to 'commit.c')
-rw-r--r--commit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/commit.c b/commit.c
index 37956b836c..b7dc1854ad 100644
--- a/commit.c
+++ b/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;