summaryrefslogtreecommitdiffstats
path: root/BaseTools/Source/Python/Workspace/DecBuildData.py
diff options
context:
space:
mode:
authorMichael D Kinney <michael.d.kinney@intel.com>2020-01-23 15:07:42 -0800
committermergify[bot] <37929162+mergify[bot]@users.noreply.github.com>2020-01-24 18:30:13 +0000
commitc8b8157e126ae2fb6f65842677251d300ceff104 (patch)
tree70ae30d4e2f294eddbc72376ca87edee59dfd93f /BaseTools/Source/Python/Workspace/DecBuildData.py
parent9a1f14ad721bbcd833ec5108944c44a502392f03 (diff)
downloadedk2-c8b8157e126ae2fb6f65842677251d300ceff104.tar.gz
edk2-c8b8157e126ae2fb6f65842677251d300ceff104.tar.bz2
edk2-c8b8157e126ae2fb6f65842677251d300ceff104.zip
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>
Diffstat (limited to 'BaseTools/Source/Python/Workspace/DecBuildData.py')
0 files changed, 0 insertions, 0 deletions