X-Git-Url: http://git.ipfire.org/?a=blobdiff_plain;f=commit.h;h=659c87c3ee90c23064f617e3bcf3ace12e32ea04;hb=a66cee2edeb503cb7a589ff9d9efa75dc8f0fedc;hp=eb6c5af1f6b18546b3b3f1683142b15bb0ae9e34;hpb=bf9b46c16d28c0e1f938947a98ca518f9644b0c0;p=thirdparty%2Fgit.git diff --git a/commit.h b/commit.h index eb6c5af1f6..659c87c3ee 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. */