[edk2-devel] [PATCH] BaseTools/Conf/gitattributes: fix "--function-context" for *.h and *.c

Leif Lindholm leif.lindholm at linaro.org
Fri Jan 17 19:37:06 UTC 2020


Hi Laszlo,

On Fri, Jan 17, 2020 at 19:09:22 +0100, Laszlo Ersek wrote:
> On 01/17/20 14:05, Leif Lindholm wrote:
> > On Fri, Jan 17, 2020 at 09:30:49 +0100, Laszlo Ersek wrote:
> >> On 01/17/20 01:56, Gao, Liming wrote:
> >>> Leif:
> >>>   .act is same to .aslc. There are no cases in open source. 
> >>
> >> How about this then:
> >>
> >> *.[Aa][Cc][Tt]     diff=cpp
> >> *.[Aa][Ss][Ll][Cc] diff=cpp
> >> *.[CcHh]           diff=cpp
> >> *.[Cc][Cc]         diff=cpp
> >> *.[Cc][Pp][Pp]     diff=cpp
> > 
> > To be honest, I would rather just see them all listed explicitly.
> > The above actually adds capitalisation-combos not currently listed in
> > build_rules.template (like .CpP).
> 
> I agree .CpP is non-intuitive, but you previously quoted .Cpp from
> "BaseTools/Conf/build_rule.template", which is just as non-intuitive to
> me. Who'd *capitalize* a file suffix? (I'd understand *all*-caps.)

I agree, I just included everything explicitly listed today.

> So anyway: you suggest to copy the file suffix list verbatim from the
> [C-Code-File] and [Acpi-Table-Code-File] sections in
> "BaseTools/Conf/build_rule.template". Plus, on top of those, *.h and
> *.H. Correct?

Yes please.

Best Regards,

Leif

-=-=-=-=-=-=-=-=-=-=-=-
Groups.io Links: You receive all messages sent to this group.

View/Reply Online (#53370): https://edk2.groups.io/g/devel/message/53370
Mute This Topic: https://groups.io/mt/69751918/1813853
Group Owner: devel+owner at edk2.groups.io
Unsubscribe: https://edk2.groups.io/g/devel/unsub  [edk2-devel-archive at redhat.com]
-=-=-=-=-=-=-=-=-=-=-=-





More information about the edk2-devel-archive mailing list