Re: [PATCH 03/35] object: add repository argument to lookup_unknown_object
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- Jun 6, 2018, 19:38 UTC
- Message-ID
- <CACsJy8C=YNRmawuR3SZDMpmkKHMp=kPJsDjffCrcONe+CDpJ_g@mail.gmail.com>
- In-Reply-To
- <20180530004810.30076-4-sbeller@google.com>
On Wed, May 30, 2018 at 2:47 AM, Stefan Beller <sbeller@google.com> wrote:
Show 10 quoted lines
> diff --git a/object.c b/object.c > index 4de4fa58d59..def3c71cac2 100644 > --- a/object.c > +++ b/object.c > @@ -177,7 +177,7 @@ void *object_as_type(struct object *obj, enum object_type type, int quiet) > } > } > > -struct object *lookup_unknown_object(const unsigned char *sha1) > +struct object *lookup_unknown_object_the_repository(const unsigned char *sha1)
I'm looking at your branch and this function (with the _the_repository suffix) is still there. Did you forget to send a patch to convert this function?
> {
> struct object *obj = lookup_object(the_repository, sha1);
> if (!obj)-- Duy