From: Bagas Sanjaya Date: Thu, 24 Jun 2021 04:02:36 GMT Subject: Re: [PATCH v4 06/14] [GSOC] ref-filter: pass get_object() return value to their callers Message-ID: <4bce3cc5-e027-fa85-f400-df529e370a2b@gmail.com> In-Reply-To: <05682bccf9f947ce77ad035c02038286d0661c35.1624332055.git.gitgitgadget@gmail.com> On 22/06/21 10.20, ZheNing Hu via GitGitGadget wrote: > From: ZheNing Hu > > Since in the refactor of `git cat-file --batch` later, > oid_object_info_extended() in get_object() will be used to obtain > the info of an object with it's oid. When the object cannot be > obtained in the git repository, `cat-file --batch` expects to output > " missing" and continue the next oid query instead of letting > Git exit. In other error conditions, Git should exit normally. So we > can achieve this function by passing the return value of get_object(). > s/Since/Because/ -- An old man doll... just what I always wanted! - Clara