diff options
author | Junio C Hamano <gitster@pobox.com> | 2024-02-08 16:22:09 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2024-02-08 16:22:09 -0800 |
commit | 541d0d75e781fad5761414d7a5500b8840f3e5bb (patch) | |
tree | efd22786b282e2381297e801cb42be49226a6cf9 /commit.c | |
parent | edf4c0d42b75fb1a94a21db75d020472cc0a6cf2 (diff) | |
parent | de7c27a1869953158436e60542ea556d78c3f4c2 (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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |