[LLVMdev] Shouldn't tools and projects in .gitignore go to .gitmodules?

Kuba Ober kuba at mareimbrium.org
Mon Mar 10 12:52:51 PDT 2014


I think it is erroneous to have the subrepository projects and tools listed in .gitignore.

Instead of being ignored, methinks they should be listed as submodules in .gitmodules:

[submodule "tools/clang"]
        path = tools/clang
        url = ../clang.git
[submodule "projects/compiler-rt"]
        path = projects/compiler-rt
        url = ../compiler-rt.git
[submodule "projects/test-suite"]
        path = projects/test-suite
        url = ../test-suite.git
[submodule "tools/lldb"]
        path = tools/lldb
        url = ../lldb.git
[submodule "tools/lld"]
        path = tools/lld
        url = ../lld.git

I’ve attached a patch just in case this was the right way to go.

Cheers, Kuba Ober

-------------- next part --------------
A non-text attachment was scrubbed...
Name: llvmgit.patch
Type: application/octet-stream
Size: 894 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20140310/ef7dfc79/attachment.obj>


More information about the llvm-dev mailing list