[Mesa-dev] Thoughts after hitting 100 merge requests?
Rob Clark
robdclark at gmail.com
Mon Jan 28 15:38:47 UTC 2019
On Sun, Jan 27, 2019 at 1:33 PM Daniel Stone <daniel at fooishbar.org> wrote:
>
> Hi,
>
> On Fri, 25 Jan 2019 at 23:24, Rob Clark <robdclark at gmail.com> wrote:
> > (Hmm, I guess I should take a look at what sort of API gitlab offers,
> > but that will probably have to wait until after the branchpoint.. tbh
> > I'd actually be pretty happy w/ a gitlab equiv of 'git pw as -s' for
> > merging things from cmdline.)
>
> Add this to your Git remote specification:
> fetch = +refs/merge-requests/*:refs/heads/mr/*
>
> And then the actual branch submitted for an MR will be present as mr/100/head.
>
oh, nice.. I didn't manage to quite get that to work as is, but ended up with:
[remote "origin"]
url = https://gitlab.freedesktop.org/mesa/mesa.git
fetch = +refs/heads/*:refs/remotes/origin/*
fetch = +refs/merge-requests/*/head:refs/remotes/origin/merge-requests/*
(based on an example from
https://docs.gitlab.com/ee/user/project/merge_requests/ )
BR,
-R
More information about the mesa-dev
mailing list