[llvm-dev] [RFC] change .gitignore for monorepo

James Y Knight via llvm-dev llvm-dev at lists.llvm.org
Wed Jul 17 11:18:42 PDT 2019


On Wed, Jul 17, 2019 at 12:45 PM Zakharin, Vyacheslav P via llvm-dev <
llvm-dev at lists.llvm.org> wrote:

> Hello,
>
>
>
> My team is using some non-llvm projects along with llvm-project monorepo.
> The projects are checked out to the top level of llvm-project, and ‘git
> status’ would complain about them unless we add them to .gitignore.  We do
> not really want to change llorg’s .gitignore on our side,
>

Why not? If you're using a modified llvm-project fork, what's the harm of
also modifying .gitignore?


> so may we propose changing llorg’s .gitignore to ignore all top-level
> files/directories that are not explicitly listed?  Something along the
> lines:
>
> /*
>
> !/clang
>
> !/clang-tools-extra
>
> !/compiler-rt
>
>>
>
>
> This will require updating .gitignore every time a new top-level entry is
> added into llvm-project monorepo, which should not be a big deal.  Please
> let me know if I can proceed with a review request.
>

I'm still against this.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20190717/9922f667/attachment.html>


More information about the llvm-dev mailing list