www.delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/10/16/15:40:07

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:reply-to:subject:to:references:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; q=dns; s=default; b=O9NSce63n8Lwdsmw
mmFhiaP3e4qtYkK+eANZU9C7N9TG3yvhCKtJT7jiXm5nZqSqNWp9e7bmv7Pvn+37
dtZNsyX0bEmurZ+zcWGCU0KIqDyf3bJZ5EKr6bAipoo/NlndYYyflKKpsXFJw9PT
f/l6+H3BkOQ/LWADcZB0w0K5VMc=
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:reply-to:subject:to:references:from:message-id
:date:mime-version:in-reply-to:content-type
:content-transfer-encoding; s=default; bh=14LAH217JZLyiNgr3jYOOx
OKIIw=; b=DGXNWsT5v+1yQG5Blly7fiRvSiBxVmByEYbyhEBMj6iLL40GneoOjE
a8riMG3dDbN1sXXuqS3xn2FkLqmuUfRfw0xxums8iuhyE97CJ7wH5dcxhOMv+2J7
AaME0Om32ALEARNlqKi24MwirTXO9HSPfXzvtiTWd9LkH6bi/WV78=
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-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
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 DOT Inglis AT SystematicSw DOT ab DOT ca
Subject: Re: Cygwin Git can't Sync File Based Repository
To: cygwin AT cygwin DOT com
References: <CABdLNwAsuauXGD9-uM_uf29qWSd5XL2SZMrkDqX41Z5APLci9A AT mail DOT gmail DOT com>
From: Brian Inglis <Brian DOT Inglis AT SystematicSw DOT ab DOT ca>
Message-ID: <1d21bd34-f194-b930-a507-c8280d5c2aab@SystematicSw.ab.ca>
Date: Mon, 16 Oct 2017 13:39:50 -0600
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: <CABdLNwAsuauXGD9-uM_uf29qWSd5XL2SZMrkDqX41Z5APLci9A@mail.gmail.com>
X-CMAE-Envelope: MS4wfL1Qv/+jTiehuTrSMbknWkeoYgFpwl/ySGFm7zlhn5lSoZEkHswx49KBrgubv+FiDaMNjBNo31Nqzf7N8VgHp44jfH9Ur/8wEHcuu9jUQNr7n0LZF7sx 81pSVbEesq7t5hUgszMVJFag0qk4mvznuxDE7N0GTsUxOuM64lsUwbKc2QKtwnfAXNT9ItrtvxYHfA==
X-IsSubscribed: yes

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

- Raw text -


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