delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2018/11/27/03:11:24

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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=lzEj1bC0BCJ4HOUZ
GitO3WJgdc6a6VeCfEuIvxNJ56Y08youy/TDfSLgtxlnZngL2x8COP/HbGUOPvrI
MzNIM+8Xt0DlD6FuNSF6l2csfy+x78uV7G2jEoX4HQPgr/SfsmNVIChTYKvwjK+Y
jmUzZNPhpPfoCY3jh0XLxwd+fe8=
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:subject:to:references:from:message-id:date
:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=0h1xpiNPQumc7kBDKRMfpp
7Z2KE=; b=ndirA8lPfU5ARKJeWJgBh1XfHDAvff9EcMg4Vn73G+44OhAiaDQDoq
nqimRhtIrGrBm2wH+A1V/gEM5m9ImN1gPDQRXU70p2PMI3XQIrnY6oqVb5/ECSJy
5YV4kSM3gBWYj1BV1ktZRvuUbVzOTdsD25odqeBjCE7kYtoC43YuQ=
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.9 required=5.0 tests=BAYES_00,FOREIGN_BODY,FREEMAIL_FROM,GIT_PATCH_2,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=no version=3.3.2 spammy=auf, von, diese, responsable
X-HELO: mail-wm1-f47.google.com
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding; bh=q9cSAgr/b4+dIqRZRd+HujLeGTU12FCLSv03OeDU6ys=; b=HdkM9/eV+UH+3dE7Z7b7eu7WQ/ttvokIfu2EIyelhMEPzX8gMx4TsRiKI20Ta67ev2 4t5FWK9R5VnDVQi1585TuLEh2NEp5U7vFhVBWIPKTn/5HiKM0Hw3dgkdh/27w0dN7GKI EoTBqWfGXBvb/HHP4wVNuetIdfOqcquNl5iyKNVxzoop6EUE4EE82UkfFvt6682g76A2 wUMwpoOM+I7cm76xaYEZFqGyuwNR8z+M6uGhhRfbgQM0Kw1+1Nn0pN+HtXHmUqBB9kdd jZUA7k+zz6IwWRjIyyQ8Lrqf7K0kvYE2zPvE6GxBcy7khMyAhjkzSuNwUwI/HMuHInnL xvag==
Subject: Re: Cygwin Git with Windows paths
To: cygwin AT cygwin DOT com
References: <CA+kUOamKzp=jjKc1OLGo1vmepoee5ABwgUpYJF9Lq1CJjOBy9Q AT mail DOT gmail DOT com> <5bfc994b DOT 1c69fb81 DOT 2bacb DOT e7da AT mx DOT google DOT com>
From: Marco Atzeri <marco DOT atzeri AT gmail DOT com>
Message-ID: <541a6c70-e17d-1577-e332-49c55c8ed1ff@gmail.com>
Date: Tue, 27 Nov 2018 09:11:04 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:60.0) Gecko/20100101 Thunderbird/60.3.1
MIME-Version: 1.0
In-Reply-To: <5bfc994b.1c69fb81.2bacb.e7da@mx.google.com>
X-IsSubscribed: yes
Note-from-DJ: This may be spam

Am 27.11.2018 um 02:09 schrieb Steven Penny:
> 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
> 

It is not a bug, and you are misunderstanding these calls.
Of course the internal of cygwin need to convert the posix
to win32 call, as the true kernel is Windows and the cygwin1.dll
is the library responsable for the interface.


> So either this code should be pulled out of the Cygwin DLL, or people 
> should
> stop saying that its not supported.
> 

Cool down please.
If you need a git that understand windows paths you should not use
the cygwin one.

Regards
Marco



---
Diese E-Mail wurde von Avast Antivirus-Software auf Viren geprüft.
https://www.avast.com/antivirus


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