From e45e7f4af0ed4aac815c93618a5243e0c25692e6 Mon Sep 17 00:00:00 2001 From: waynefoks Date: Thu, 23 Nov 2023 23:04:14 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E5=A4=8D=E6=89=A7=E8=A1=8Cgit?= =?UTF-8?q?=20patch=E6=97=B6=E5=9B=A0=E4=B8=BAtrailing=20whitespace?= =?UTF-8?q?=E7=9A=84=E6=8A=A5=E9=94=99=E4=B8=AD=E6=96=AD?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: 雨小佳 --- attachment/scripts/ohos_setup.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/attachment/scripts/ohos_setup.py b/attachment/scripts/ohos_setup.py index 99ca997854..6ff00f68c4 100644 --- a/attachment/scripts/ohos_setup.py +++ b/attachment/scripts/ohos_setup.py @@ -32,7 +32,7 @@ REPOS_ROOT = ROOT + '/repos' def apply_patch(task): file_path = task['file_path'] target_path = task['target'] - excute_util.excuteArr(['git', 'apply', file_path], target_path) + excute_util.excuteArr(['git', 'apply', '--whitespace=nowarn', file_path], target_path) pass -- Gitee