]> git.ipfire.org Git - thirdparty/git.git/blobdiff - commit.c
commit: ignore_non_trailer computes number of bytes to ignore
[thirdparty/git.git] / commit.c
index b3223478bc2a3ac98751e41ba133a41d3ba34bc0..4440fbabb83886848efd520f28697059606a7a18 100644 (file)
--- a/commit.c
+++ b/commit.c
@@ -1769,7 +1769,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;