* Cygwin Git cant' Sync File Based repository
@ 2017-10-16 20:09 Gary Furash
2017-10-16 20:36 ` Gary Furash
0 siblings, 1 reply; 3+ messages in thread
From: Gary Furash @ 2017-10-16 20:09 UTC (permalink / raw)
To: cygwin
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
--
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Cygwin Git cant' Sync File Based repository
2017-10-16 20:09 Cygwin Git cant' Sync File Based repository Gary Furash
@ 2017-10-16 20:36 ` Gary Furash
2017-10-17 8:08 ` Corinna Vinschen
0 siblings, 1 reply; 3+ messages in thread
From: Gary Furash @ 2017-10-16 20:36 UTC (permalink / raw)
To: cygwin
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.
-- gary furash | furashgary@gmail.com, 520-907-2470
On Mon, Oct 16, 2017 at 1:09 PM, Gary Furash <furashgary@gmail.com> wrote:
> 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
>
--
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
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: Cygwin Git cant' Sync File Based repository
2017-10-16 20:36 ` Gary Furash
@ 2017-10-17 8:08 ` Corinna Vinschen
0 siblings, 0 replies; 3+ messages in thread
From: Corinna Vinschen @ 2017-10-17 8:08 UTC (permalink / raw)
To: cygwin
[-- Attachment #1: Type: text/plain, Size: 1512 bytes --]
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@gmail.com> wrote:
>
> > 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
--
Corinna Vinschen Please, send mails regarding Cygwin to
Cygwin Maintainer cygwin AT cygwin DOT com
Red Hat
[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 819 bytes --]
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2017-10-17 8:08 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-10-16 20:09 Cygwin Git cant' Sync File Based repository Gary Furash
2017-10-16 20:36 ` Gary Furash
2017-10-17 8:08 ` Corinna Vinschen
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).