X-Git-Url: https://git.octo.it/?a=blobdiff_plain;f=commit.c;h=a8c9bfc8baf21a3d42164faa1577f74326b51df6;hb=50496b2170cbe87b4c13f89f274aa2f181522bb9;hp=8f403180e5903bfa3da9df76b2cda213135c58d3;hpb=1301c6eb412e7c5511b952a12e42c70ad56f028b;p=git.git diff --git a/commit.c b/commit.c index 8f403180..a8c9bfc8 100644 --- a/commit.c +++ b/commit.c @@ -55,7 +55,7 @@ static struct commit *check_commit(struct object *obj, struct commit *lookup_commit_reference_gently(const unsigned char *sha1, int quiet) { - struct object *obj = deref_tag(parse_object(sha1)); + struct object *obj = deref_tag(parse_object(sha1), NULL, 0); if (!obj) return NULL;