Remove broken Windows filters

This commit is contained in:
Anthony Rose 2023-04-18 13:05:33 +01:00
parent f7cb2a3207
commit b1800446be
3 changed files with 0 additions and 8 deletions

View file

@ -9,5 +9,3 @@
helper = manager
[credential "https://dev.azure.com"]
useHttpPath = true
[diff "utf16diff"]
textconv = utf16diff.cmd

View file

@ -1,3 +0,0 @@
@ECHO OFF
REM Add "*.ps1 diff=utf16diff" to ~/.config/git/attributes to use this.
powershell.exe -Command "%~dp0\utf16diff.ps1" "%1"

View file

@ -1,3 +0,0 @@
[string]$file = $args[0]
[string]$encoding = $(&"C:\Program Files\Git\usr\bin\file.exe" -b --mime-encoding $file)
&"C:\Program Files\Git\usr\bin\iconv.exe" -c -f $encoding -t UTF-8 $file