Merge branch 'ah/misc-doc-updates'
[gitweb.git] / builtin / describe.c
index b5afc4584632d35afe26f4c3d0dfb09e777518b1..a4160e7f5d1321e08be78f86d63b780a1711616f 100644 (file)
@@ -502,7 +502,7 @@ static void describe(const char *arg, int last_one)
 
        if (cmit)
                describe_commit(&oid, &sb);
-       else if (oid_object_info(&oid, NULL) == OBJ_BLOB)
+       else if (oid_object_info(the_repository, &oid, NULL) == OBJ_BLOB)
                describe_blob(oid, &sb);
        else
                die(_("%s is neither a commit nor blob"), arg);