From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 63256 invoked by alias); 19 Apr 2016 20:33:58 -0000 Mailing-List: contact cygwin-help@cygwin.com; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner@cygwin.com Mail-Followup-To: cygwin@cygwin.com Received: (qmail 63240 invoked by uid 89); 19 Apr 2016 20:33:58 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.2 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,RCVD_IN_DNSWL_LOW,SPF_PASS autolearn=ham version=3.3.2 spammy=interestingly, Roman, roman, hey X-HELO: mail-wm0-f51.google.com Received: from mail-wm0-f51.google.com (HELO mail-wm0-f51.google.com) (74.125.82.51) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-GCM-SHA256 encrypted) ESMTPS; Tue, 19 Apr 2016 20:33:56 +0000 Received: by mail-wm0-f51.google.com with SMTP id u206so49284756wme.1 for ; Tue, 19 Apr 2016 13:33:55 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:to:from:subject:message-id:date:user-agent :mime-version:content-transfer-encoding; bh=Yk/ZhV1z7VIvm6X8ZkB56Bkn4B4AbPM3yfveO1oY28M=; b=NZUuEESuIbEGs0jQyRxyzSs60mAw9rYnSCizLF3FYJkyxcAsb0S8s3cpsNB2yHcMo4 rot+4QIVqKCytTqCHuaShnQHsY+v0qIh1OO+7roGWirphi5mLklbN7sFf+PlRdAHo/Qo PZVx362S3+N4KcW0C2i71nJGA0KlTOMRjlD2/CdzHdqZPilyS3e3iVkYZVm+JL42jBoN Wflo0xPAQviiXKRxiQRaY2w0o2/qMbC7Q+gE3E1+gg7kJNhoN4cEWfA+UtQpjw/AWGMA mIwWQMhCvPfInE+JBQ8wOQ4Smh37w5Gsj/cDueiEYtkyww99qXW4XNhUtk0UZn1esBZ1 FKgw== X-Gm-Message-State: AOPr4FUERMGyA7Wu0txa/bGHywu42jC9IqGhvae/rx2g5ZqsaVRFgdCdAbrHqbB7cWP+Sw== X-Received: by 10.194.235.39 with SMTP id uj7mr4871613wjc.78.1461098033203; Tue, 19 Apr 2016 13:33:53 -0700 (PDT) Received: from [10.8.8.11] (193-83-53-179.adsl.highway.telekom.at. [193.83.53.179]) by smtp.googlemail.com with ESMTPSA id gl8sm1990041wjb.30.2016.04.19.13.33.51 for (version=TLSv1/SSLv3 cipher=OTHER); Tue, 19 Apr 2016 13:33:52 -0700 (PDT) To: cygwin@cygwin.com From: silverwind Subject: git and absolute Windows-style paths Message-ID: <57169662.9060503@gmail.com> Date: Tue, 19 Apr 2016 21:00:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:38.0) Gecko/20100101 Thunderbird/38.5.0 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2016-04/txt/msg00475.txt.bz2 Hey, I noticed that Cygwin's git does not seem to correctly process Windows-style paths in at least v2.7.4 and v2.8.1. It may have worked before, but I'm not totally certain. Interestingly, a command like "git add" still sets an 0 exit code despite the apparent failure. Could it be that some effort to correct the path is attempted, but it failed? $ mkdir /cygdrive/c/test $ cd /cygdrive/c/test $ git init $ touch file $ git add C:\\test\\file <-- this fails despite exit code 0 $ git status <-- shows no changes $ git add /cygdrive/c/test/file <-- this works $ git status <-- correctly shows "new file" Regards Roman -- 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