<div dir="auto"><div>I'd say the main difference is ease-of-use.<div dir="auto"><br></div><div dir="auto">Submodules easily go out-of-sync, so you have to keep running 'git submodule update'. Sometimes you can accidentally push code in one without dependent code in the other.</div><div dir="auto"><br></div><div dir="auto">With repo, all that is automatic. 'repo up' will push all "submodules", 'repo sync' pulls from them all, etc. Code is based on branches, not isolated commits, so there's less confusion, and it's easy to change one part to one branch in order to test stuff while leaving the others intact.</div><div dir="auto"><br><div data-smartmail="gmail_signature" dir="auto">--<br>Ryan (ライアン)<br>Yoko Shimomura > ryo (supercell/EGOIST) > Hiroyuki Sawano >> everyone else<br><a href="http://refi64.com">http://refi64.com</a></div></div><br><div class="gmail_extra"><br><div class="gmail_quote">On May 20, 2017 1:58 PM, "Mehdi AMINI" <<a href="mailto:joker.eph@gmail.com">joker.eph@gmail.com</a>> wrote:<br type="attribution"><blockquote class="quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class="quoted-text"><br><div class="gmail_extra"><br><div class="gmail_quote">2017-05-08 14:23 GMT-07:00 Ryan Gonzalez via llvm-dev <span dir="ltr"><<a href="mailto:llvm-dev@lists.llvm.org" target="_blank">llvm-dev@lists.llvm.org</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><a href="https://source.android.com/source/using-repo" rel="noreferrer" target="_blank">https://source.android.com/sou<wbr>rce/using-repo</a><br>
<br>
<br>
It plays well with large projects (heck, it was designed for Android),<br>
and it works really well.<br>
<br>
I'm guessing you guys have already considered it and rejecting it for<br>
some really smart reason, but I wanted to make sure! ;)<br></blockquote><div></div></div><br></div></div><div class="gmail_extra">Yes, it was considered, no-one really championed it at the time. Conceptually I personally don't see any difference with submodules, and in practice I don't see a killer difference. The main discussion has been focused on a "submodule" split-repo model vs a monorepo.</div><font color="#888888"><div class="gmail_extra"><br></div><div class="gmail_extra">-- </div><div class="gmail_extra">Mehdi</div><div class="gmail_extra"><br></div><div class="gmail_extra"><br></div></font></div>
</blockquote></div><br></div></div></div>