commit: make ignore_non_trailer() non static
[gitweb.git] / commit.h
index a401ddfbc4e5c2e5e4a9d7aeedebc34e6103c9fa..f87b39250637a93f38a31beb583ae4002fd2c779 100644 (file)
--- a/commit.h
+++ b/commit.h
@@ -326,6 +326,9 @@ extern struct commit_extra_header *read_commit_extra_headers(struct commit *, co
 
 extern void free_commit_extra_headers(struct commit_extra_header *extra);
 
+/* Find the end of the log message, the right place for a new trailer. */
+extern int ignore_non_trailer(struct strbuf *sb);
+
 typedef void (*each_mergetag_fn)(struct commit *commit, struct commit_extra_header *extra,
                                 void *cb_data);