From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 103227 invoked by alias); 16 Oct 2017 19:39:55 -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 103219 invoked by uid 89); 16 Oct 2017 19:39:55 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=0.5 required=5.0 tests=AWL,BAYES_50,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW autolearn=no version=3.3.2 spammy=canada, Canada, shops, alberta X-HELO: smtp-out-no.shaw.ca Received: from smtp-out-no.shaw.ca (HELO smtp-out-no.shaw.ca) (64.59.134.9) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 16 Oct 2017 19:39:53 +0000 Received: from [192.168.1.100] ([24.64.240.204]) by shaw.ca with SMTP id 4BEseVClYM9gt4BEtep7Vo; Mon, 16 Oct 2017 13:39:51 -0600 X-Authority-Analysis: v=2.2 cv=a+JAzQaF c=1 sm=1 tr=0 a=MVEHjbUiAHxQW0jfcDq5EA==:117 a=MVEHjbUiAHxQW0jfcDq5EA==:17 a=N659UExz7-8A:10 a=SQgHhSxWPtqK1PA6-tEA:9 a=pILNOxqGKmIA:10 Reply-To: Brian.Inglis@SystematicSw.ab.ca Subject: Re: Cygwin Git can't Sync File Based Repository To: cygwin@cygwin.com References: From: Brian Inglis Message-ID: <1d21bd34-f194-b930-a507-c8280d5c2aab@SystematicSw.ab.ca> Date: Mon, 16 Oct 2017 19:39:00 -0000 User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101 Thunderbird/52.4.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-CMAE-Envelope: MS4wfL1Qv/+jTiehuTrSMbknWkeoYgFpwl/ySGFm7zlhn5lSoZEkHswx49KBrgubv+FiDaMNjBNo31Nqzf7N8VgHp44jfH9Ur/8wEHcuu9jUQNr7n0LZF7sx 81pSVbEesq7t5hUgszMVJFag0qk4mvznuxDE7N0GTsUxOuM64lsUwbKc2QKtwnfAXNT9ItrtvxYHfA== X-IsSubscribed: yes X-SW-Source: 2017-10/txt/msg00148.txt.bz2 On 2017-10-16 12:12, Gary Furash wrote: > For example, I have a repository that looks like this > > [gffurash ~/Documents/Projects/wo219161] $ git remote -v > origin file://v:/GitSrcCtrl/wo219161 (fetch) > origin file://v:/GitSrcCtrl/wo219161 (push) > > it syncs w/ the remote destination in windows > > If I sync from Git Bash (downloaded from the git site) it works fine. If I > sync from Cygwin GIT, I get the following > > fatal: '/GitSrcCtrl/wo219161' does not appear to be a git repository > fatal: Could not read from remote repository. > > Please make sure you have the correct access rights and the repository > exists > Trying to create the repository from Cygwin doesn't work either. > > [gffurash ~/Downloads] $ git clone /cygdrive/v/GitSrcCtrl/wo219161/ > Cloning into 'wo219161'... > done. > [gffurash ~/Downloads] $ touch a > [gffurash ~/Downloads] $ git add . > fatal: Not a git repository (or any parent up to mount point /cygdrive) > Stopping at filesystem boundary (GIT_DISCOVERY_ACROSS_FILESYSTEM not set). For the latter case at least, you need to first cd wo219161. [Don't you just /love/ shops which organize their code base under random numbers ;^>] Are you sure you're using Cygwin git - what path does "which git" show? Have you checked if there is an upgrade to be installed? Current Cygwin version is git 2.14.2-2. I've had no problems cloning, fetching, etc. but not pushed recently. -- Take care. Thanks, Brian Inglis, Calgary, Alberta, Canada -- 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