X-Git-Url: https://git.verplant.org/?a=blobdiff_plain;f=tag.c;h=4041af2572a4427a03bc8955137b7d2211f9d770;hb=b7e8039a6f4a250bc0b9c9ca2d75b60368058413;hp=26494ca9695fdd2e81952378f64bbc361698117d;hpb=d1af002dc608be3213ba18df1a99ced0ab42e6d6;p=git.git diff --git a/tag.c b/tag.c index 26494ca9..4041af25 100644 --- a/tag.c +++ b/tag.c @@ -3,7 +3,7 @@ const char *tag_type = "tag"; -struct tag *lookup_tag(unsigned char *sha1) +struct tag *lookup_tag(const unsigned char *sha1) { struct object *obj = lookup_object(sha1); if (!obj) {