summaryrefslogtreecommitdiff
path: root/commit.h
diff options
context:
space:
mode:
authorJonathan Tan <jonathantanmy@google.com>2016-11-02 17:29:17 (GMT)
committerJunio C Hamano <gitster@pobox.com>2016-11-29 22:22:18 (GMT)
commit710714aaa822acbad14f1b7100fa2776d2bc8ce6 (patch)
treeea24ab3dfc122e037bfd04cd66eb9ec6bed7ee68 /commit.h
parente4319562bc2834096fade432fd90c985b96476db (diff)
downloadgit-710714aaa822acbad14f1b7100fa2776d2bc8ce6.zip
git-710714aaa822acbad14f1b7100fa2776d2bc8ce6.tar.gz
git-710714aaa822acbad14f1b7100fa2776d2bc8ce6.tar.bz2
commit: make ignore_non_trailer take buf/len
Make ignore_non_trailer take a buf/len pair instead of struct strbuf. Signed-off-by: Jonathan Tan <jonathantanmy@google.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit.h')
-rw-r--r--commit.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/commit.h b/commit.h
index afd14f3..9c12abb 100644
--- a/commit.h
+++ b/commit.h
@@ -355,7 +355,7 @@ extern const char *find_commit_header(const char *msg, const char *key,
size_t *out_len);
/* Find the end of the log message, the right place for a new trailer. */
-extern int ignore_non_trailer(struct strbuf *sb);
+extern int ignore_non_trailer(const char *buf, size_t len);
typedef void (*each_mergetag_fn)(struct commit *commit, struct commit_extra_header *extra,
void *cb_data);