Files
git/compat
Karsten Blees 1aaa22f850 Win32: mingw_chdir: change to symlink-resolved directory
If symlinks are enabled, resolve all symlinks when changing directories,
as required by POSIX.

Note: Git's real_path() function bases its link resolution algorithm on
this property of chdir(). Unfortunately, the current directory on Windows
is limited to only MAX_PATH (260) characters. Therefore using symlinks and
long paths in combination may be problematic.

Note: GetFinalPathNameByHandleW() was introduced with symlink support in
Windows Vista. Thus, for compatibility with Windows XP, we need to load it
dynamically and behave gracefully if it isnt's available.

Signed-off-by: Karsten Blees <blees@dcon.de>
2018-01-22 12:59:55 +01:00
..
2017-07-05 14:01:03 -07:00
2017-07-05 14:01:03 -07:00
2018-01-22 12:59:54 +01:00
2017-01-23 11:02:34 -08:00