Re: [PATCH 07/35] tree: add repository argument to lookup_tree

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, May 30, 2018 at 2:47 AM, Stefan Beller <sbeller@xxxxxxxxxx> wrote:
> 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.

>
> Signed-off-by: Jonathan Nieder <jrnieder@xxxxxxxxx>
> Signed-off-by: Stefan Beller <sbeller@xxxxxxxxxx>
> ---
>  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



[Index of Archives]     [Linux Kernel Development]     [Gcc Help]     [IETF Annouce]     [DCCP]     [Netdev]     [Networking]     [Security]     [V4L]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux SCSI]     [Fedora Users]

  Powered by Linux