Karsten Blees 0d6d6731a3 mingw: move MSys2 specific environment tweaks to setup_windows_environment
Lets keep the environment initialization and conversion section as lean as
possible and move recently added tweaks to setup_windows_environment().

This fixes the following potential problems:

 * Prevent duplicate TZ variables if both TZ and MSYS2_TZ are set.
 * Some of the higher level x* APIs from wrapper.c require a working
   getenv(), using e.g. xstrdup() during initialization is dangerous.
 * Slashifying the Windows TMP variable may break native Windows programs,
   use POSIX TMPDIR instead.
 * Properly slashify TMPDIR even if it is already set, and also if we only
   have TEMP, but not TMP.
 * Reduce complexity from O(n) to O(log n).

Signed-off-by: Karsten Blees <blees@dcon.de>
2015-04-09 23:30:17 +01:00
2015-04-01 09:59:35 +01:00
2015-04-01 09:54:08 +01:00
2015-04-01 10:00:06 +01:00
2015-04-01 09:00:38 +01:00
2015-04-01 09:00:38 +01:00
2015-04-01 09:00:38 +01:00
2015-04-01 09:54:14 +01:00
2015-02-26 20:19:21 +00:00
2015-03-31 14:57:10 -07:00
2015-04-01 10:03:51 +01:00
2015-04-01 10:03:56 +01:00
2015-04-01 09:00:16 +01:00
2015-03-20 12:41:41 -07:00
2015-03-28 09:36:30 -07:00

Git for Windows

Join the chat at https://gitter.im/git-for-windows/git

This is the source code of Git for Windows, forked from Git.

If you encounter problems, you can report them as GitHub issues, discuss them on Git for Windows' Google Group, and contribute bug fixes.

Description
No description provided
Readme 683 MiB
Languages
C 50.5%
Shell 38.8%
Perl 4.4%
Tcl 3.2%
Python 0.8%
Other 2.1%