On Tue, May 1, 2018 at 5:33 PM, Stefan Beller <sbeller@xxxxxxxxxx> wrote: > 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@xxxxxxxxx> > Signed-off-by: Stefan Beller <sbeller@xxxxxxxxxx>