[llvm-dev] [RFC] change .gitignore for monorepo
Philip Reames via llvm-dev
llvm-dev at lists.llvm.org
Wed Jul 17 11:05:32 PDT 2019
Also a -1 from me.
On 7/17/19 10:25 AM, David Greene via llvm-dev wrote:
> I would not want to see this. We have directories added to the top
> level in our local fork of the monorepo and to have them suddenly
> ignored by git would be surprising. Yes, we could whitelist what we've
> added but we would not recognize the problem until we tried to commit a
> change from those directories, which happens infrequently. I can
> imagine it would take some time to realize what is going on.
>
> -David
>
> "Zakharin, Vyacheslav P via llvm-dev" <llvm-dev at lists.llvm.org> writes:
>
>> 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, 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.
>>
>>
>>
>> Thanks,
>>
>> Slava
>>
>> _______________________________________________
>> LLVM Developers mailing list
>> llvm-dev at lists.llvm.org
>> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
> _______________________________________________
> LLVM Developers mailing list
> llvm-dev at lists.llvm.org
> https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-dev
More information about the llvm-dev
mailing list