Re: Cygwin Git with Windows paths
- From
Torsten Bögershausen <tboegi@web.de>
- Date
- Nov 20, 2018, 10:36 UTC
- Message-ID
- <9bee0f47-d1fb-c483-2597-d8edb1ed36de@web.de>
- In-Reply-To
- <CAAXzdLXCEeZdkCXT+-0n=Fn7_=Nz5cm+6xr0w-cd6B1om028uA@mail.gmail.com>
On 20.11.18 01:17, Steven Penny wrote:
Show 21 quoted lines
> On Sun, Nov 18, 2018 at 11:21 PM Torsten Bögershausen wrote: >> If nothing works, >> it may help to add some fprintf(stderr,...) in the functions used >> by 05b458c104708141d2f: >> >> strip_last_component(), >> get_next_component() >> real_path_internal() > > I didnt see any "real_path_internal" in the current codebase - however i added > some "printf" to the other 2 and got this: > > $ git clone git://github.com/benhoyt/goawk 'C:\cygwin64\tmp\goawk' > get_next_component, next, [] > get_next_component, remaining, [C:\cygwin64\tmp\goawk] > Cloning into 'C:\cygwin64\tmp\goawk'... > get_next_component, next, [] > get_next_component, remaining, [C:\cygwin64\tmp\goawk/.git] > fatal: Invalid path '/usr/local/cache/git/C:\cygwin64\tmp\goawk': No such file > or directory >
Could you please post a "git diff" of your instrumented code, so that I/we can follow the debugging, especially what the printouts mean?
I think we need to understand what is going on in abspath.c