From: brian m. carlson Date: Tue, 06 Feb 2018 01:55:57 GMT Subject: Re: [PATCH 065/194] object-store: add repository argument to sha1_object_info Message-ID: <20180206015556.GF7904@genre.crustytoothpaste.net> In-Reply-To: <20180205235735.216710-45-sbeller@google.com> On Mon, Feb 05, 2018 at 03:55:26PM -0800, Stefan Beller wrote: > Add a repository argument to allow the callers of sha1_object_info > to be more specific about which repository to handle. This is a small > mechanical change; it doesn't change the implementation to handle > repositories other than the_repository yet. > > As with the previous commits, use a macro to catch callers passing a > repository other than the_repository at compile time. > > In the expanded macro the identifier `the_repository` is not actually used, > so the compiler does not catch if the repository.h header is not included > at the call site. call sites needing that #include were identified by "Call sites" (capital at the beginning of the sentence). -- brian m. carlson / brian with sandals: Houston, Texas, US https://www.crustytoothpaste.net/~bmc | My opinion only OpenPGP: https://keybase.io/bk2204