X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=commit.h;h=659c87c3ee90c23064f617e3bcf3ace12e32ea04;hb=431b049e1bfcef5eb8165e4167b53f9717f8a526;hp=eb6c5af1f6b18546b3b3f1683142b15bb0ae9e34;hpb=3ea3860758cc2501388059a89c1e5f4a90acb50d;p=git.git diff --git a/commit.h b/commit.h index eb6c5af1f..659c87c3e 100644 --- a/commit.h +++ b/commit.h @@ -38,7 +38,7 @@ struct commit *lookup_commit_reference_gently(const unsigned char *sha1, int quiet); struct commit *lookup_commit_reference_by_name(const char *name); -int parse_commit_buffer(struct commit *item, void *buffer, unsigned long size); +int parse_commit_buffer(struct commit *item, const void *buffer, unsigned long size); int parse_commit(struct commit *item); /* Find beginning and length of commit subject. */