Skip to content

Commit e33c856

Browse files
committed
Write pre-push hook as ASCII for Git compatibility
1 parent 395f080 commit e33c856

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Scripts/security/install-git-hooks.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,6 @@ exit $?
1414

1515
$hookContent = $hookContent.Replace("__SCRIPT_PATH__", $scriptPath)
1616

17-
Set-Content -Path $hookPath -Value $hookContent -Encoding UTF8
17+
Set-Content -Path $hookPath -Value $hookContent -Encoding Ascii
1818

1919
Write-Host "Installed pre-push hook at: $hookPath" -ForegroundColor Green

0 commit comments

Comments
 (0)