Re: [PATCH 07/35] tree: add repository argument to lookup_tree
- From
Duy Nguyen <pclouds@gmail.com>
- Date
- Jun 6, 2018, 19:26 UTC
- Message-ID
- <CACsJy8Daj2yvZ6FHJJSrjMuYsy7sUqW2o4XtUqEh0r=o6cjJew@mail.gmail.com>
- In-Reply-To
- <20180530004810.30076-8-sbeller@google.com>
On Wed, May 30, 2018 at 2:47 AM, Stefan Beller <sbeller@google.com> wrote:
Show 9 quoted lines
> Add a repository argument to allow the callers of lookup_tree > 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. > > Add the cocci patch that converted the callers.
I don't see the cocci patch in diffstat. I don't need to see it, but this sentence probably should be dropped.
Show 24 quoted lines
> > Signed-off-by: Jonathan Nieder <jrnieder@gmail.com> > Signed-off-by: Stefan Beller <sbeller@google.com> > --- > builtin/am.c | 6 ++++-- > builtin/diff-tree.c | 2 +- > builtin/diff.c | 3 ++- > builtin/reflog.c | 2 +- > cache-tree.c | 3 ++- > commit-graph.c | 2 +- > commit.c | 2 +- > fsck.c | 2 +- > http-push.c | 3 ++- > list-objects.c | 2 +- > merge-recursive.c | 6 +++--- > object.c | 2 +- > reachable.c | 2 +- > revision.c | 4 ++-- > sequencer.c | 2 +- > tag.c | 2 +- > tree.c | 4 ++-- > tree.h | 3 ++- > walker.c | 3 ++- > 19 files changed, 31 insertions(+), 24 deletions(-)
-- Duy