Hello, this is the remainder of Karsten's unicode branch, that is a time proven part of msysGit. (If this code is accepted, only one patch would only remain: gitk and git-gui fixes.) When rebasing Karsten's work, I have eliminated two commits: https://github.com/msysgit/git/commit/f967550 https://github.com/msysgit/git/commit/290bf81 These commits only moved code down and up; this was not necessary, one forward declaration was all I needed. One of the patches differs from the original version: "Enable color..." Following Karsten's suggestion, I have changed the value of env. var. TERM from "winterm" to "cygwin". This is because the subprocesses see the variable and may try to find it in (their copy of) termcap. Enjoy, Stepan Karsten Blees (13): Revert "Windows: teach getenv to do a case-sensitive search" Win32: Unicode environment (outgoing) Win32: Unicode environment (incoming) Win32: fix environment memory leaks Win32: unify environment case-sensitivity Win32: unify environment function names Win32: factor out environment block creation Win32: don't copy the environment twice when spawning child processes Win32: reduce environment array reallocations Win32: use low-level memory allocation during initialization Win32: keep the environment sorted Win32: patch Windows environment on startup Enable color output in Windows cmd.exe compat/mingw.c | 290 +++++++++++++++++++++++++++++++------------------------ compat/mingw.h | 11 +-- config.mak.uname | 2 - run-command.c | 10 +- 4 files changed, 170 insertions(+), 143 deletions(-) -- 2.0.0.9635.g0be03cb -- To unsubscribe from this list: send the line "unsubscribe git" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html