delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2017/10/17/04:09:12

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:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; q=dns; s=
default; b=knrmp05pPHVYCEC4a8RYtVkQmQ3Lq3pfmLxwcFvONsSfPzLu14ANJ
6KnieHxzWT2FrMa2uybnbkrycxorI2MHFtbkDl9yJiBETHgNwlgk5XH9hYX9qJQ0
Wcf0pIXQtvyuamNy2av6dZ3x764+5ACVeY+O9rIeN3MYWDE7YERvqs=
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:to:subject:message-id:reply-to
:references:mime-version:content-type:in-reply-to; s=default;
bh=sH11ul4e9JYFghCwqMtUbsndqvM=; b=OEjUzXFaY1SuAXXaGR4fPGpRPwR7
30Os93H3HAVJ14gOmW60Pp0AJO5HuX+JDE15GYVU0WMW39XPev81byD9ZedhcUym
VPfHyN1Ad1C3uWyhlgeBEIK7MpUDhd/B8Es6yS7R+mV/YWbiAq+GyFWgNlH8JeYw
ELCKq7agg+NmZGg=
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=-99.5 required=5.0 tests=AWL,BAYES_50,GOOD_FROM_CORINNA_CYGWIN,KAM_LAZY_DOMAIN_SECURITY,RCVD_IN_DNSWL_LOW,SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=Projects, Git, gary, furash
X-HELO: drew.franken.de
Date: Tue, 17 Oct 2017 10:08:46 +0200
From: Corinna Vinschen <corinna-cygwin AT cygwin DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Cygwin Git cant' Sync File Based repository
Message-ID: <20171017080846.GB18727@calimero.vinschen.de>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <CABdLNwBocj96RdgwB0OL0Z=NMVoB4aeZBNx-HPPdgvdc28XKFA AT mail DOT gmail DOT com> <CABdLNwB=RVB8-eC-Hd2dCGVt2VrQqSmDFHA-BVgATc9TKfYXJw AT mail DOT gmail DOT com>
MIME-Version: 1.0
In-Reply-To: <CABdLNwB=RVB8-eC-Hd2dCGVt2VrQqSmDFHA-BVgATc9TKfYXJw@mail.gmail.com>
User-Agent: Mutt/1.9.1 (2017-09-22)

--i9LlY+UWpKt15+FH
Content-Type: text/plain; charset=utf-8
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

Please don't top-post.

On Oct 16 13:35, Gary Furash wrote:
> On Mon, Oct 16, 2017 at 1:09 PM, Gary Furash <furashgary AT gmail DOT com> wrote:
>=20
> > From windows GIT
> >
> > [gffurash ~] $ git --version
> > git version 2.14.2.windows.3
> > [gffurash ~] $ which git
> > /mingw64/bin/git
> > [gffurash ~] $
> >
> > From Cygwin GIT
> >
> > [gffurash ~] $ git --version
> > git version 2.14.2
> > [gffurash ~] $ which git
> > /usr/bin/git
> > [gffurash ~] $
> >
> >
> > in each case they're referring to a different root: the former
> > C:\Progra~1\Git and the latter C:\Cygwin64
> >
> I think the issue IMHO is that when you use a *file* based repository git
> stores the file path in a certain way, and Cygwin64's git gets confused.

No, that's not Cygwin git's fault.  The problem is that you're using
Windows paths which only work in Git for Windows:

> [gffurash ~/Documents/Projects/wo219161] $ git remote -v
> origin  file://v:/GitSrcCtrl/wo219161 (fetch)
> origin  file://v:/GitSrcCtrl/wo219161 (push)

Change this to:

  $ git remote set-url origin file:///cygdrive/v/GitSrcCtrl/wo219161

or better, because this continues to work even after changing the
cygdrive path prefix:

  $ git remote set-url origin file:///proc/cygdrive/v/GitSrcCtrl/wo219161

POSIX-like paths should work in both git versions.


Corinna

--=20
Corinna Vinschen                  Please, send mails regarding Cygwin to
Cygwin Maintainer                 cygwin AT cygwin DOT com
Red Hat

--i9LlY+UWpKt15+FH
Content-Type: application/pgp-signature; name="signature.asc"

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQIcBAEBCAAGBQJZ5bqOAAoJEPU2Bp2uRE+g1e0QAJImdCcfYOfmcfBsjMacGivq
L43M/TU1d5k36fAFmeZTqeWjN4wOsk2S00KbnBBdn1CVxpUBks2MxxjMI5E6qQJr
57KnFgBwaQpZqG8ojPn27pqNX1NHoOUi9sLpfJfPY479PR86j498TI08hGOun0wH
u6ZG6a/1P781q0vqM29OwJBHTM/EN539EqsJs1xhD+nwjO9Vu0+bssTyXPGzi1PW
0qCrgmIaBKvVN4TjG2Dpbgq/9huSE8LQvlN87WnaAOUGz4KnwH3klEMeM9iLAyU4
RRHcXzYKp+f8F+NXdqhLIZ3c93FjJwfosjBr1QfWrbCAXbgUs0aKQGVUJS75T6Pr
82Wy9qYIv9gb9VrKpN00jCfU38SxIuMkWMLcPezFDGk4tyQPbVIC1/qufsmeRSU+
g+Ras6NQdR6qOamJNT9ecMUYOTFdjNLZsO+6+TO4PYlch3CrjtLo3CuhSrB8g2KZ
ccnKEuult47Ncu1EbUs26tRUvuURDtdC2bMtKLBXcmDUPcbui6A5EggWw6L3+hpb
tqQv84uUz8RyrdX/apexOBVsdtdxP1ObcjqIa96sX8eZOKRSWAcYAApq09gLPnZm
J/pjGNGiQSOfkuGbUC3esT/ESciU64jLpeypi2I5I1Wqu1Y99tCzWnb4snAU/7QO
Z1Dy9bUkkO+6HpATJoBx
=9BKH
-----END PGP SIGNATURE-----

--i9LlY+UWpKt15+FH--

- Raw text -


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