]> git.proxmox.com Git - mirror_edk2.git/blobdiff - BaseTools/Scripts/PatchCheck.py
BaseTools/PatchCheck: Disable text conversion in 'git show'
[mirror_edk2.git] / BaseTools / Scripts / PatchCheck.py
index 6b07241bfe69e6285146aab471f3464fb2456e82..2a4e6f603e79a7ffeaad694d11756150b4ca00ec 100755 (executable)
@@ -543,7 +543,7 @@ class CheckGitCommits:
 \r
     def read_patch_from_git(self, commit):\r
         # Run git to get the commit patch\r
-        return self.run_git('show', '--pretty=email', commit)\r
+        return self.run_git('show', '--pretty=email', '--no-textconv', commit)\r
 \r
     def run_git(self, *args):\r
         cmd = [ 'git' ]\r