audk/BaseTools/Scripts
Michael D Kinney c8b8157e12 BaseTools/Scripts/PatchCheck.py: Remove submodule false positives
https://bugzilla.tianocore.org/show_bug.cgi?id=2484
https://bugzilla.tianocore.org/show_bug.cgi?id=2485

Update PatchCheck to not enforce no tabs and not enforce CR/LF
line endings for .gitmodules files.  These files are updated by
git when a git submodule command is used and the updates by git
use tab characters and LF line endings.

Also update patch check to not enforce CR/LF line endings for
patch lines that create a submodule directory.  These patch
lines use LF line endings.  The git submodule directory is
added as a new file with attributes 160000 that can be detected
by looking for the pattern "new file mode 160000".

Cc: Bob Feng <bob.c.feng@intel.com>
Cc: Liming Gao <liming.gao@intel.com>
Cc: Laszlo Ersek <lersek@redhat.com>
Signed-off-by: Michael D Kinney <michael.d.kinney@intel.com>
Reviewed-by: Laszlo Ersek <lersek@redhat.com>
2020-01-24 18:30:13 +00:00
..
PackageDocumentTools BaseTools: Fix various typos 2019-07-08 08:59:29 +08:00
BinToPcd.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
ConvertFceToStructurePcd.py BaseTools: correct line endings for ConvertFce Python script 2019-10-04 11:18:22 +01:00
ConvertMasmToNasm.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
ConvertUni.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
DetectNotUsedItem.py BaseTools:Add DetectNotUsedItem.py to Edk2\BaseTools\Scripts 2019-06-25 09:23:48 +08:00
FormatDosFiles.py BaseTools:"--exclude" don't apply if parameter ends with separator 2019-09-27 08:17:55 +08:00
GccBase.lds BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
GetMaintainer.py BaseTools: add GetMaintainer.py script 2019-07-24 17:45:55 +01:00
GetUtcDateTime.py BaseTools/Scripts: Add GetUtcDateTime script. 2019-08-15 15:49:11 +08:00
MemoryProfileSymbolGen.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
PatchCheck.py BaseTools/Scripts/PatchCheck.py: Remove submodule false positives 2020-01-24 18:30:13 +00:00
RunMakefile.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
RunMakefileSample.mak BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
Rvct-Align4K.sct BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
Rvct-Align32.sct BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
SetVisualStudio.bat BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
SetupGit.py BaseTools/Scripts: Add sendemail.transferEncoding to SetupGit.py 2019-12-24 08:31:20 +00:00
ShowEnvironment.bat BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
SmiHandlerProfileSymbolGen.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00
UpdateBuildVersions.py BaseTools: Replace BSD License with BSD+Patent License 2019-04-09 09:10:20 -07:00