[llvm-dev] [RFC] One or many git repositories?

Justin Lebar via llvm-dev llvm-dev at lists.llvm.org
Wed Jul 20 17:39:11 PDT 2016

> Today I *can* checkout only LLVM and Clang. On a single Git repo I can't.

This is true if you s/checkout/clone/.  With a single repo, you must
clone (download) everything (*), but after you've done so you can use
sparse checkouts to check out (create a working copy of) only llvm and
clang.  So you should only notice the fact that there exist things
other than llvm and clang when you first clone (download) llvm.

Either way switching to git is going to be a change from the status
quo.  Personally I'm more interested in finding the best overall
solution than the solution which is "most similar" to the current
setup under some metric.

(*) Technically, if you do a shallow clone, you have to download a
single revision of everything.  That's the 90mb number from my
original post.

On Wed, Jul 20, 2016 at 5:25 PM, Renato Golin via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> On 21 July 2016 at 01:23, Sanjoy Das via llvm-dev
> <llvm-dev at lists.llvm.org> wrote:
>> Right now we *are* in a monorepo, with sequential revision numbers
>> across llvm and clang, so I'd say trying to move to separate repos is
>> actually the "change" here.  :)
> Not true. SVN can be checked out by directory, Git needs to be cloned
> on the root.
> Today I *can* checkout only LLVM and Clang. On a single Git repo I can't.
> cheers,
> --renato
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev

More information about the llvm-dev mailing list