<div dir="ltr"><br><br><div class="gmail_quote"><div dir="ltr">Le ven. 2 nov. 2018 à 07:08, David Greene via llvm-dev <<a href="mailto:llvm-dev@lists.llvm.org">llvm-dev@lists.llvm.org</a>> a écrit :<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Justin Bogner <<a href="mailto:mail@justinbogner.com" target="_blank">mail@justinbogner.com</a>> writes:<br>
<br>
> I'll write up some more detailed docs on this, but all you need to do is<br>
> a subtree merge to one of the zippered commits.<br>
<br>
This will then prevent git-biisect from working properly, unfortunately.<br>
Maybe most people don't need it be we should be aware of and communicate<br>
the tradeoffs.<br>
<br>
> If you want a monorepo view for all of your branches' histories too it's<br>
> more involved, but I'm not sure anyone really needs that. In any case,<br>
> even if someone does want that the nature of the zipper approach means<br>
> it could be done later non-destructively.<br>
<br>
That's true, but then they would suffer the same duplication of history<br>
that motivated you to create the zippered repository in the first place.<br></blockquote><div><br></div><div>It isn't clear to me why it would suffer from the same duplication of history?</div><div>The duplication of history is only due to the *rewrite* of the git hash between the individual repo and the monorepo.</div><div>If we were starting with a subtree merge and later add a "zipped" history, we would only add the merges commit without rewriting anything I think.</div><div><br></div><div>-- </div><div>Mehdi</div><div><br></div><div> </div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Again, we need to make the tradeoffs clear.<br>
<br>
I'm not saying the zippered approach is bad, just that it's not quite<br>
the panacea it may seem to be.<br>
<br>
                        -David<br>
_______________________________________________<br>
LLVM Developers mailing list<br>
<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">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>
</blockquote></div></div>