mirror of
https://github.com/git/git.git
synced 2026-01-17 06:13:11 +00:00
GetCurrentConsoleFontEx in an atexit routine doesn't work because git closes stdout before exit (which also closes the console handle). Check the console font when we first encounter a non-ascii character and only schedule the warning message to be printed at exit (warnings go to stderr, which is not closed by git). Signed-off-by: Karsten Blees <blees@dcon.de> Signed-off-by: Erik Faye-Lund <kusmabite@gmail.com>