> On Jun 9, 2015, at 10:50 AM, Ard Biesheuvel <ard.biesheu...@linaro.org> wrote:
>
>> Turns out git has a trick for this up its sleeve: see gitattributes(5).
>>
>> (1) Edit your .git/info/attributes file, adding the following lines:
>>
>> *.dec diff=ini
>> *.dsc diff=ini
>> *.dsc.inc diff=ini
>> *.fdf diff=ini
>> *.fdf.inc diff=ini
>> *.inf diff=ini
>>
>> (2) in your .git/config, add
>>
>> [diff "ini"]
>> xfuncname = "^\\[[A-Za-z0-9_., ]+]"
>>
>
> Nice find! Very useful indeed.
Can we check this into git to make it the default for the project?
Thanks,
Andrew Fish
------------------------------------------------------------------------------
_______________________________________________
edk2-devel mailing list
edk2-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/edk2-devel