From: Johannes Sixt Date: Mon, 22 May 2017 16:36:35 GMT Subject: Re: [PATCH 0/2] Fix warnings on access of a remote with Windows paths Message-ID: <947b2453-52b6-4940-fd20-ddf350c5df4d@kdbg.org> In-Reply-To: Am 22.05.2017 um 13:59 schrieb Johannes Schindelin: > On Sat, 20 May 2017, Johannes Sixt wrote: >> This small series fixes these warnings on Windows: >> >> C:\Temp\gittest>git fetch C:\Temp\gittest >> warning: unable to access '.git/remotes/C:\Temp\gittest': Invalid argument >> warning: unable to access '.git/branches/C:\Temp\gittest': Invalid argument >> From C:\Temp\gittest >> * branch HEAD -> FETCH_HEAD >> >> The fix is in the second patch; the first patch is a >> preparation that allows to write the fix in my preferred style. > > Thank you! > > Maybe you want to accompany these patches with a simple test case that > uses e.g. ls-remote on $(pwd | tr / \\\\)? Actually, no, I don't want to. It would have to be protected by MINGW, and I don't want to burden us (and here I mean Windows folks) with a check for a cosmetic deficiency. (Shell scripts, slow forks, yadda, yadda...) -- Hannes