Re: [PATCH v2] MSVC: Unbreak real_path for Windows paths

2019-04-09 Thread Junio C Hamano
Sven Strickroth writes: > A path such as 'c:/somepath/submodule/../.git/modules/submodule' wasn't > resolved correctly any more, because the *nix variant of offset_1st_component > is used instead of the Win32 specific version. > > Regression was introduced in commit 1cadad6f6 when mingw_offset_1s

[PATCH v2] MSVC: Unbreak real_path for Windows paths

2019-04-09 Thread Sven Strickroth
A path such as 'c:/somepath/submodule/../.git/modules/submodule' wasn't resolved correctly any more, because the *nix variant of offset_1st_component is used instead of the Win32 specific version. Regression was introduced in commit 1cadad6f6 when mingw_offset_1st_component was moved from mingw.c