Code

Record which tree the patch applies to.
[git.git] / blob.c
diff --git a/blob.c b/blob.c
index c800cd3905e2a4e97098064a588e15c0ae33a0b0..ea52ad5c9d819721ff6f631d7d5b3057fabcd633 100644 (file)
--- a/blob.c
+++ b/blob.c
@@ -4,7 +4,7 @@
 
 const char *blob_type = "blob";
 
-struct blob *lookup_blob(unsigned char *sha1)
+struct blob *lookup_blob(const unsigned char *sha1)
 {
        struct object *obj = lookup_object(sha1);
        if (!obj) {