Commit 9ae1afa
Revert "Windows: teach getenv to do a case-sensitive search"
This reverts commit df599e9.
As of 5e9637c "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).
30a615a "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>
Signed-off-by: Stepan Kasal <kasal@ucw.cz>
Signed-off-by: Junio C Hamano <gitster@pobox.com>1 parent e6ce2be commit 9ae1afa
1 file changed
+3
-20
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1245 | 1245 | | |
1246 | 1246 | | |
1247 | 1247 | | |
1248 | | - | |
1249 | | - | |
1250 | | - | |
1251 | | - | |
1252 | | - | |
1253 | | - | |
1254 | | - | |
1255 | | - | |
1256 | | - | |
1257 | | - | |
1258 | | - | |
1259 | | - | |
1260 | | - | |
1261 | | - | |
1262 | | - | |
1263 | | - | |
1264 | | - | |
1265 | 1248 | | |
1266 | 1249 | | |
1267 | | - | |
| 1250 | + | |
1268 | 1251 | | |
1269 | 1252 | | |
1270 | | - | |
| 1253 | + | |
1271 | 1254 | | |
1272 | | - | |
| 1255 | + | |
1273 | 1256 | | |
1274 | 1257 | | |
1275 | 1258 | | |
| |||
0 commit comments