diff options
author | Jonathan Tan <jonathantanmy@google.com> | 2016-11-02 18:29:17 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-11-29 23:22:18 +0100 |
commit | 710714aaa822acbad14f1b7100fa2776d2bc8ce6 (patch) | |
tree | ea24ab3dfc122e037bfd04cd66eb9ec6bed7ee68 /commit.h | |
parent | trailer: be stricter in parsing separators (diff) | |
download | git-710714aaa822acbad14f1b7100fa2776d2bc8ce6.tar.xz git-710714aaa822acbad14f1b7100fa2776d2bc8ce6.zip |
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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |