Revert "Windows: teach getenv to do a case-sensitive search"
commitfaa19f64793f7a979b6dbad7878f4853cf8b415d
authorKarsten Blees <blees@dcon.de>
Sat, 14 Jan 2012 18:06:41 +0000 (14 19:06 +0100)
committerPat Thoyts <patthoyts@users.sourceforge.net>
Mon, 22 Oct 2012 12:30:16 +0000 (22 13:30 +0100)
treef7c212fec366234c0a3df7673ab7ebee37ab28b7
parentd2a194b0399559551721c28ef533692897b1d850
Revert "Windows: teach getenv to do a case-sensitive search"

This reverts commit df599e9612788b728ce43a03159b85f1fe624d6a.

As of 5e9637c6 "i18n: add infrastructure for translating Git with gettext",
eval_gettext uses MinGW envsubst.exe instead of git-sh-i18n--envsubst.exe
for variable substitution. This breaks git-submodule.sh messages and tests,
as envsubst.exe doesn't support case-sensitive environment lookup (the same
is true for almost everything on Windows, including MSys and Cygwin tools).

30a615ac "Windows/i18n: rename $path to prevent clashes with $PATH" renames
the conflicting variable in git-submodule.sh, so that it works on Windows
(i.e. with case-insensitive environment, regardless of the toolset).

Revert to the documented behaviour of case-insensitive environment on
Windows.

Signed-off-by: Karsten Blees <blees@dcon.de>
compat/mingw.c