Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2024-01-03 00:51:29 +0300
committerJunio C Hamano <gitster@pobox.com>2024-01-03 00:51:29 +0300
commit59a29e1274948bf9a3ef44c65903d09194464e1c (patch)
tree99be8596157d36d62baed5a38e195e99c91c1dad /commit.c
parent43ec8791692f70768fa8eb23056db6a4e0ba3c6a (diff)
parentde7c27a1869953158436e60542ea556d78c3f4c2 (diff)
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
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;