Re: [PATCH 20/43] MAINTAINERS: add git URL for KVM/s390

Fengguang Wu
2015-12-19T02:18:11Z

On Fri, Dec 18, 2015 at 01:42:09PM +0100, Cornelia Huck wrote:
> On Fri, 18 Dec 2015 20:32:15 +0800
> Fengguang Wu <fengguang.wu@intel.com> wrote:
>
> > Thanks! The background is, the 0day patch test script relies on the
> > information in MAINTAINERS to decide which tree it can apply the LKML
> > patches to. So I need to add some missing git URLs to the MAINTAINERS
> > file.
>
> Don't you also need the branch the patches should apply against, or am
> I misunderstanding what you're trying to do?

Yes one option is to append the branch name in MAINTAINERS like this:

+T: git git://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux.git next

The other option is to get the branch name from linux-next, whose Next/Trees
file contains this line:

kvms390 git git://git.kernel.org/pub/scm/linux/kernel/git/kvms390/linux.git#next

Then the robot knows patches should be applied to the 'next' branch.

So for most trees, there is no need to specify the branch name in the
MAINTAINERS file. Not only it's not necessary, but also helps avoid
double configuration.

Thanks,
Fengguang