mirror of
https://github.com/tj/git-extras.git
synced 2026-09-10 15:36:21 -04:00
Merge pull request #691 from koppor/patch-1
Remove trailing dot of German Windows
This commit is contained in:
commit
8216e6bbbc
|
|
@ -15,6 +15,9 @@ for /F "tokens=*" %%F in ('chcp') do (
|
|||
for %%A in (%%F) do (set _last=%%A)
|
||||
)
|
||||
SET CP=%_last:~0%
|
||||
if "!CP:~-1!"=="." (
|
||||
SET CP=!CP:~0,-1!
|
||||
)
|
||||
chcp 850 > NUL
|
||||
:: echo %CP%
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue