delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/11/27/09:50:20

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:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; q=dns; s=default; b=auXJycUxvWEm33Sq
sUHZXQBOyA9SwSn+wtpVHiPM9dM0NJRgL4SZuQR7FAICqKLvtN2nVBwO32KygMK1
Y0ZDrDor3XocacUZeiVWW8XNjGBcHuXmEjU9E3McZDVCH60OzuQGNYTSC624UPO0
YOrNYN3ri3SHZE+1vlzUC70x8qc=
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:reply-to:message-id:to:subject
:in-reply-to:references:mime-version:content-type
:content-transfer-encoding; s=default; bh=j9IqYZOO465EgxW4F82JJF
7Vh1M=; b=rWZenHt197OCSvm4xh+3b91Wdfp3sTPh9fittEFx8SYLAaB50mt6n0
qF5qr7BykYU8/T6b5vsx719zf8JyiNJEAkUadiGWWt8HiLQpUd9js+dPF1q5CPqe
ljC2Ld224wVHNO18kLKMjbDCPMt51RY8guaDDLAvHwp5tDvEeh1lA=
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/ml/#faqs>
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=-0.7 required=5.0 tests=BAYES_00,FREEMAIL_FROM,KAM_THEBAT,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=no version=3.3.2 spammy=H*Ad:U*adam, HTo:U*adam, HX-Priority:Normal, ecosystem
X-HELO: forward106o.mail.yandex.net
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1543330203; bh=ovOjYWAH1TEJYuXAnecC0tgURPbNpo7VCPzDw4cgDRI=; h=Date:From:Reply-To:Message-ID:To:Subject:In-Reply-To:References; b=e+dIMldjALQITJUYllLdpuWNOIe2x97Qpz6yMeqW3FdwLpTg1NHD8KPTDg6xsv4+t whPHDhNvHwy3272pW5MWiSw4aTNfkV9QmwWpR4la0BndDQmtCmbFwsjUZGuLtVwYtf 53sWoECeN/qPGrNSZjV4DLbyDkpi7VbN+2B76Q5s=
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1543330202; bh=ovOjYWAH1TEJYuXAnecC0tgURPbNpo7VCPzDw4cgDRI=; h=Date:From:Reply-To:Message-ID:To:Subject:In-Reply-To:References; b=Koq+NRkMyFqAZZysy8EIKJq3qKnDJZDmmz15DkQ0e2XPQqYhkY3FhA9t3sRwgdP51 J6qn1umCqTbs7aAMwb6w4HDOt4Gtbd5T6ZaNAl31zd2gx9GaTPMVzPnw7fT5zyyHvh eAE9BU4guEecVTRAASjjFF9MRcMexdJ4tgr/aL3c=
Authentication-Results: smtp1p.mail.yandex.net; dkim=pass header.i=@yandex.ru
Date: Tue, 27 Nov 2018 17:35:18 +0300
From: Andrey Repin <anrdaemon AT yandex DOT ru>
Reply-To: cygwin AT cygwin DOT com
Message-ID: <345670383.20181127173518@yandex.ru>
To: Adam Dinwoodie <adam AT dinwoodie DOT org>, cygwin AT cygwin DOT com
Subject: Re: Cygwin Git with Windows paths
In-Reply-To: <CA+kUOamKzp=jjKc1OLGo1vmepoee5ABwgUpYJF9Lq1CJjOBy9Q@mail.gmail.com>
References: <5bf10195 DOT 1c69fb81 DOT 27494 DOT eed4 AT mx DOT google DOT com> <CA+kUOamKzp=jjKc1OLGo1vmepoee5ABwgUpYJF9Lq1CJjOBy9Q AT mail DOT gmail DOT com>
MIME-Version: 1.0
X-IsSubscribed: yes

Greetings, Adam Dinwoodie!

> 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. I acknowledge that this
> causes problems for non-Cygwin tools using Cygwin Git, but the
> solution there is to either use Cygwin aware/native versions of those
> tools, or to use non-Cygwin versions of Git.

The problem with Git is that it relies on entire POSIX ecosystem, contrary to,
say, Subversion, which is just one drop-in binary.

> In particular, I'm wary of fixing this set of interop problem
> introducing some other problem; I'd prefer Cygwin tools to fail to
> handle Windows paths entirely than the current situation where "c:"
> refers to a file of that exact name in the current directory, and
> "c:\" sometimes refers to a completely different directory, when on
> *nix systems in general both would refer to files in the current
> directory.

Then it would just make Cygwin as useless as WSL.

> 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.


-- 
With best regards,
Andrey Repin
Tuesday, November 27, 2018 17:33:24

Sorry for my terrible english...


--
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

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019