X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=blob.h;h=ea5d9e9f8b63be2c7048d19ee53feb06b0795c80;hb=5d6ccf5ce7f28e576a87f6c6f4f99fae90e06db6;hp=8004c835e73d44f3d9f0adf533cbf2475c288b42;hpb=e0f0e891c1742c6ae22dbc648a1000ad8655ff34;p=git.git diff --git a/blob.h b/blob.h index 8004c835..ea5d9e9f 100644 --- a/blob.h +++ b/blob.h @@ -9,7 +9,7 @@ struct blob { struct object object; }; -struct blob *lookup_blob(unsigned char *sha1); +struct blob *lookup_blob(const unsigned char *sha1); int parse_blob_buffer(struct blob *item, void *buffer, unsigned long size);