<div dir="ltr">git-imerge can run an arbitrary script to decide whether a commit is good or bad. Lack of textual merge conflicts is only the most basic test -- you can check that it compiles, run tests .. whatever you want and have time to execute.</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jul 26, 2016 at 2:12 AM, Robinson, Paul via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
<br>
> -----Original Message-----<br>
> From: Renato Golin [mailto:<a href="mailto:renato.golin@linaro.org">renato.golin@linaro.org</a>]<br>
> Sent: Monday, July 25, 2016 7:11 AM<br>
> To: Daniel Sanders<br>
> Cc: Robinson, Paul; <a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br>
> Subject: Re: [llvm-dev] [RFC] One or many git repositories?<br>
><br>
> On 25 July 2016 at 14:55, Daniel Sanders <<a href="mailto:Daniel.Sanders@imgtec.com">Daniel.Sanders@imgtec.com</a>><br>
> wrote:<br>
> > I know of a way but it's not very nice. The gist of it is to checkout<br>
> the<br>
> > downstream branch just before the bad merge and then merge the first<br>
> > 100 commits from upstream. If the result is good then merge the next<br>
> > 100, but if it's bad then 'git reset --hard' and merge 10 instead.<br>
> You'll<br>
> > eventually find the commit that made it bad. Essentially, the idea is to<br>
> > make a throwaway branch that merges more frequently. I do something<br>
> > similar to rebase my work to master since gradually rebasing often<br>
> > causes all the conflicts to go away.<br>
><br>
> This is essentially what git-imerge does, you only need to define<br>
> "good merge" in the form of a script or CI job.<br>
><br>
> cheers,<br>
> -renato<br>
<br>
</span>Except I understood git-imerge to be looking for physical conflicts,<br>
not "when did this test start failing."  If it does the latter also,<br>
that would be awesome.<br>
--paulr<br>
<div class="HOEnZb"><div class="h5"><br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev</a><br>
</div></div></blockquote></div><br></div>