On 01/17/20 01:22, Gao, Liming wrote: > Leif: > Vfr is not C style source file. It can't be regarded as C source > file. > > Laszlo: > Is there such support for the assembly file, such as .nasm?
According to the gitattributes(5) manual, there doesn't seem to be a git-diff driver for assembly files. However, the default (language-independent) driver seems to handle it reasonably well. Consider commit f4c898f2b2db ("UefiCpuPkg/CpuExceptionHandlerLib: Fix split lock", 2019-09-20). $ git show f4c898f2b2db this displays just the changes, with 3 lines of context, but it already correctly displays the "HasErrorCode" label in the hunk header: @@ -184,17 +184,19 @@ HasErrorCode: Now, if I add "-W": $ git show -W f4c898f2b2db then the full text is displayed between "HasErrorCode" and "ErrorCode". (You can see the entire file with: $ git show f4c898f2b2db:UefiCpuPkg/Library/CpuExceptionHandlerLib/X64/ExceptionHandlerAsm.nasm ) Thanks Laszlo -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#53350): https://edk2.groups.io/g/devel/message/53350 Mute This Topic: https://groups.io/mt/69751918/21656 Group Owner: devel+ow...@edk2.groups.io Unsubscribe: https://edk2.groups.io/g/devel/unsub [arch...@mail-archive.com] -=-=-=-=-=-=-=-=-=-=-=-