From 1e8c074279209cabc0a8c1c66ca4cd8e3ff2b836 Mon Sep 17 00:00:00 2001 From: Sima Zhu <48036328+sima-zhu@users.noreply.github.com> Date: Tue, 15 Feb 2022 12:08:30 -0800 Subject: [PATCH] Update credscan.yml --- eng/common/pipelines/templates/steps/credscan.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/eng/common/pipelines/templates/steps/credscan.yml b/eng/common/pipelines/templates/steps/credscan.yml index f0e6edf76e3b9..8b432c5f0b390 100644 --- a/eng/common/pipelines/templates/steps/credscan.yml +++ b/eng/common/pipelines/templates/steps/credscan.yml @@ -9,7 +9,7 @@ steps: if ("$(Build.Reason)" -eq 'PullRequest') { $targetBranch = "origin/$(System.PullRequest.TargetBranch)" -replace "refs/heads/" - # Add config of disable the quote and encoding on unix path. + # Add config to disable the quote and encoding on file name. # Ref: https://github.com/msysgit/msysgit/wiki/Git-for-Windows-Unicode-Support#disable-quoted-file-names # Ref: https://github.com/msysgit/msysgit/wiki/Git-for-Windows-Unicode-Support#disable-commit-message-transcoding $changedFiles = git -c core.quotepath=off -c i18n.logoutputencoding=utf-8 diff origin/main HEAD --name-only --diff-filter=d