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:date:from:to:subject:message-id:mime-version :content-type:in-reply-to; q=dns; s=default; b=BYZkjIi31R8p+XM0M 5zF6IphXreVp8c6lozQ3WZFdp7628X0XKR+IiyIbWyemNPwEscOYOYa1XAbqb93a cxP6bx5R7/5QRqA50t6tKH38aAS4qjrwE+44UbSnMS1dvrhg6nyHeqyuSkX9ekb2 ZVfhMZfhKESJ59MbNKEg/6AAMI= 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:date:from:to:subject:message-id:mime-version :content-type:in-reply-to; s=default; bh=kYWG3SlFiXQEmzoFOiUPHpf TrDI=; b=JRsM1LIb5nBEiLONkl+xdwVQwYD69to2t35dQ5ayy+AjrZ7jthRenOc CX24vElbK1owjDxvfEDzziurGRlUGuhbTj0ALg9KBluWiABY62j8TFnRQ3Dpa0c/ PxNYgQa1y2kCE4p/ZII4rLrnmRNPeuNkPf8uc/ANJnFDC8rjWF2U= 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-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.1 required=5.0 tests=BAYES_00,FAKE_REPLY_C,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=H*i:sk:5717ACA, H*MI:sk:5717ACA, team X-HELO: mail-wm0-f50.google.com X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:subject:message-id:mime-version :content-disposition:in-reply-to:user-agent; bh=mjr/OFhLoMgufqG9sEfx6XBhF0gJa84hlNlAtYFKhLE=; b=VpIv1R3yA29InT8M/bOX3muNN/chSBGlfWrb459Dk+3W+W5LSjrbansu3d+SBynLY1 fHoLiSIOWvrjlYlBmpUpEnA1AQ/W7pbM+hx+MbzCSdzKwz/4vQHH+zgu1NOR40g+c8qX 5W1vQkSGaWzNGSX3MT0mkjANSWV4SyaKHlbssXzBjxTB5eSD3svBzdOyTdquid7DDRIB GBOsfD44e6KbdrOvnOop15bLoCUU6hgb5JiGYI63OMrK8tTSOfUf2A7tF1pKyPgjS0Tu B+ZCqVw+i1Mc2yptWMwCR/siz9N7RLGKhfemjf4NROUcWuCbx98y+I37UK2HBEhRjmVf cnKQ== X-Gm-Message-State: AOPr4FWPQGMUOom8BemZk4KkyG2i2zYkFsXRJc/aAaUzBAx+ikW6u3y4gpxpV5Ebmsvj5Q== X-Received: by 10.194.184.139 with SMTP id eu11mr11061692wjc.154.1461170751322; Wed, 20 Apr 2016 09:45:51 -0700 (PDT) Date: Wed, 20 Apr 2016 17:45:48 +0100 From: Adam Dinwoodie To: cygwin AT cygwin DOT com Subject: Re: git and absolute Windows-style paths Message-ID: <20160420164548.GI2345@dinwoodie.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5717A3EF.6030407@gmail.com> <5717ACA1.2060003@gmail.com> User-Agent: Mutt/1.5.21 (2010-09-15) X-IsSubscribed: yes On Wed, Apr 20, 2016 at 05:44:47PM +0200, silverwind wrote: > > I can't immediately see what's going wrong, so I'm going to report > this upstream. > > Thanks. I came upon this issue through npm which is using these > Windows paths for certain git operations. Unfortunately, The npm > team is very reluctant when it comes to merging Cygwin-specific > patches, so chances of landing a fix on their side are rather slim. > > Is there a public repository for the git package used by Cygwin? The main Git repository[0] includes a bunch of Cygwin specific code already, and I maintain a repository of the packaging paraphernalia[1] which includes a couple of patches that aren't yet in the upstream code. [0]: https://git.kernel.org/cgit/git/git.git/ [1]: http://github.com/me-and/Cygwin-Git On Wed, Apr 20, 2016 at 06:21:53PM +0200, silverwind wrote: > I think a floating patch to Cygwin's git > package would be more appropriate, unless it can be addressed in > Cygwin's system calls (which I'm sure has been attempted). As the Git maintainer for Cygwin, I'm not willing to maintain a downstream patch to make Cygwin Git handle Windows-style paths, and I don't think there's much chance of one being accepted into the upstream Git source code (although you're obviously welcome to try getting such a patch accepted). If you need to be able to pass Windows-style paths to Cygwin applications, you should write a wrapper function or script that calls `cygpath` to do the conversion. Anything else is liable to work intermittently at best; Cygwin applications in general expect POSIX-style paths, given the aim of the Cygwin project is to provide a POSIX-like environment. Adam -- 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