X-Recipient: archive-cygwin AT delorie DOT com DomainKey-Signature: a=rsa-sha1; c=nofws; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:to:references:subject :content-type; q=dns; s=default; b=IXkT/hG63SNM2XqmNmqMtTZYTvjo4 +3e+TWcbqU4+N6fR4yPcATdsg+I1rMsNtomlDFfwmyenaI9+WF4rAjc05IAmkRdv dIW0i3mDQksgNdF897cYiu+fGGxL1ruHC4so80f7TvV4LmtazwBV5p/8padPukap OUWcLlKR+hCy7w= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=sourceware.org; h=list-id :list-unsubscribe:list-subscribe:list-archive:list-post :list-help:sender:message-id:date:from:to:references:subject :content-type; s=default; bh=5Gc1DgGFyHl+lZqmJrEIKEGdgys=; b=afr NW3KSzJ9dH4frBNKxdCZcPcaUTDzyABnOQL0uW1wxQ59SezCK3/zGEsLyMrfp0Zf nLDWyOUGFFhnKArZGz37a1jdXDMW/GtGwEBBw5co7S7rLOb4BKAaZQ81gy8xlumN 3O0OZABX17dADRx+fKBgbEHm3j0Ss2rtYJBBcZDY= Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.2 spammy=Dec, H*M:1c69fb81, H*M:google X-HELO: mail-oi1-f170.google.com DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=message-id:date:from:to:references:subject:user-agent; bh=mLtBPHofwsCKazPSOsTa7dgPXwKWTdzZpmzxfcTXGxU=; b=fkD0rlB7GS5/C2IhOlZkHBWruDmVRSzz6oAjBpolnVMro6D2VLrwajwtcBPD3rFwGq 8MwILJIhZprpF4iWk51+PdyhBC8JgLNRqQfLrefNx9DOJtxugmfwRnCrvIzq4eQjsmrp ibvT4BncKsa9R/En77A3yU+19XtcH1A58eEajMfW1WkgmRUIAEBMHSI9vr7/xGszTfEf jIFIVzjdxqeSVEVyAvBNanwRzThZ/oVBeFdL5Fj7sO+/Kj39MwvVpkXXOXsjtUkBFOz+ z3LkUw3Uxbl6WHri6BTkjxHkdYc9KtETUjNZKjgPaxUEOhkGmed+m0LQ4cvWWCwaEF/K wglA== Message-ID: <5bfc994b.1c69fb81.2bacb.e7da@mx.google.com> Date: Mon, 26 Nov 2018 17:09:31 -0800 (PST) From: Steven Penny To: cygwin AT cygwin DOT com References: Subject: Re: Cygwin Git with Windows paths Content-Type: text/plain; charset=utf8; format=flowed User-Agent: Tryst/2.8.0 (cup.github.io/umber/awk/tryst) On Mon, 26 Nov 2018 22:54:14, Adam Dinwoodie wrote: > Personally, I don't see this as a bug; AIUI using Windows style paths > isn't something that is supported in general in Cygwin, even if it's > something that works in some circumstances. It is a bug. Even when you use Unix paths, Cygwin is doing path conversions: $ ls /var cache lib log run tmp $ strace ls /var | grep -E '(conv_to|normalize)_(posix|win32)_path' | wc 32 320 3337 So either this code should be pulled out of the Cygwin DLL, or people should stop saying that its not supported. > I see you've raised this on the Git mailing list as well, and if the > upstream Git package starts to handle such paths, I'll take the > relevant patches. However since I don't consider this a bug, I'm not > going to raise it myself. Its not fixed upstream (yet), but a patch is available that fixes the issue: http://public-inbox.org/git/20181126173252 DOT 1558-1-tboegi AT web DOT de Note carefully that Windows path handling previously worked with Cygwin Git until Dec 2016, when a patch was introduced that broke that use case. The patch in question repairs the path handling so that Unix and Windows paths are both supported with Cygwin Git again. -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple