Re: [PATCH 02/13] object: add repository argument to create_object
- From
Eric Sunshine <sunshine@sunshineco.com>
- Date
- May 1, 2018, 21:43 UTC
- Message-ID
- <CAPig+cSYxib5NEGM+J9RZ=v6GbaMf_0R2nWpfQWybrcn7bPOaw@mail.gmail.com>
- In-Reply-To
- <20180501213403.14643-3-sbeller@google.com>
On Tue, May 1, 2018 at 5:33 PM, Stefan Beller <sbeller@google.com> wrote:
Show 7 quoted lines
> Add a repository argument to allow the callers of create_object > to be more specific about which repository to act on. 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.
This is only patch 2, and patch 1 did not use a macro trick to catch callers passing the wrong argument.
> Add the cocci patch that converted the callers.
No cocci patch anywhere in sight.
> Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> > Signed-off-by: Stefan Beller <sbeller@google.com>