Re: [edk2] [PATCH] Add .gitignore

Subject: Re: [edk2] [PATCH] Add .gitignore

From: Jordan Justen <jljusten@gmail.com>

To: "edk2-devel@lists.sourceforge.net" <edk2-devel@lists.sourceforge.net>

Date: 2014-10-09 14:23:18

On Thu, Oct 9, 2014 at 5:58 AM, Laszlo Ersek  wrote:
> On 10/09/14 14:50, Jordan Justen wrote:
>> On Wed, Oct 8, 2014 at 8:33 AM, Leif Lindholm  wrote:
>>> From: Ryan Harkin 
>>>
>>> From: Ryan Harkin 
>>>
>>> While edk2 is still maintained in SVN, Many edk2 developers use git
>>> for their main workflow, using the official mirrors.
>>> This .gitignore file prevents files generated as part of the build
>>> from cluttering up "git status" output.
>>>
>>> Contributed-under: TianoCore Contribution Agreement 1.0
>>> Signed-off-by: Ryan Harkin 
>>> [removed Linaro-specific bits]
>>> Signed-off-by: Leif Lindholm 
>>> ---
>>>  .gitignore |   20 ++++++++++++++++++++
>>>  1 file changed, 20 insertions(+)
>>>  create mode 100644 .gitignore
>>>
>>> diff --git a/.gitignore b/.gitignore
>>> new file mode 100644
>>> index 0000000..8b6147b
>>> --- /dev/null
>>> +++ b/.gitignore
>>> @@ -0,0 +1,20 @@
>>> +*.d
>>> +*.o
>>> +*.pyc
>>> +BaseTools/Source/C/VfrCompile/EfiVfrParser.cpp
>>> +BaseTools/Source/C/VfrCompile/EfiVfrParser.h
>>> +BaseTools/Source/C/VfrCompile/Pccts/antlr/antlr
>>> +BaseTools/Source/C/VfrCompile/Pccts/dlg/dlg
>>> +BaseTools/Source/C/VfrCompile/VfrLexer.cpp
>>> +BaseTools/Source/C/VfrCompile/VfrLexer.h
>>> +BaseTools/Source/C/VfrCompile/VfrParser.dlg
>>> +BaseTools/Source/C/VfrCompile/VfrSyntax.cpp
>>> +BaseTools/Source/C/VfrCompile/VfrTokens.h
>>> +BaseTools/Source/C/bin/
>>> +BaseTools/Source/C/libs/
>>
>> How about BaseTools/.gitignore for these? (I guess it is possible that
>> someone might want to use git submodule or repo to compose their
>> tree.)
>>
>>> +Build/
>>> +Conf/.cache/
>>> +Conf/BuildEnv.sh
>>> +Conf/build_rule.txt
>>> +Conf/target.txt
>>> +Conf/tools_def.txt
>>
>> What about Conf/.gitignore with '*'?
>
> "Conf/ReadMe.txt" should not be ignored.

This should not prevent git from showing that ReadMe.txt was modified.
(Not that it ever changes.)

-Jordan

------------------------------------------------------------------------------
Meet PCI DSS 3.0 Compliance Requirements with EventLog Analyzer
Achieve PCI DSS 3.0 Compliant Status with Out-of-the-box PCI DSS Reports
Are you Audit-Ready for PCI DSS 3.0 Compliance? Download White paper
Comply to PCI DSS 3.0 Requirement 10 and 11.5 with EventLog Analyzer
http://pubads.g.doubleclick.net/gampad/clk?id=154622311&iu=/4140/ostg.clktrk
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel