Temporarily set the console codepage to match the GUI codepage
commit934614ec8e6462678c7caaaece0bad62a28e8d6a
authorSebastian Schuberth <sschuberth@gmail.com>
Wed, 4 Nov 2009 19:56:15 +0000 (4 20:56 +0100)
committerSebastian Schuberth <sschuberth@gmail.com>
Wed, 4 Nov 2009 20:04:29 +0000 (4 21:04 +0100)
treefe5cbb2f247b2e25b54231e40f81218b189ab711
parent25d2d517da58257cfd63b9ecc671e402f95fd107
Temporarily set the console codepage to match the GUI codepage

When launching .bat or .cmd files, cmd.exe performs a conversion from the OEM
to the ANSI codepage of any arguments. For git.exe's console output, we need to
do the opposite conversion by temporarily setting the OEM codepage to match the
ANSI codepage.

Signed-off-by: Sebastian Schuberth <sschuberth@gmail.com>
cmd/git.cmd