Skip to content

Commit

Permalink
Update credscan.yml
Browse files Browse the repository at this point in the history
  • Loading branch information
sima-zhu authored and azure-sdk committed Feb 15, 2022
1 parent b4bff0a commit 1e8c074
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion eng/common/pipelines/templates/steps/credscan.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 1e8c074

Please sign in to comment.