From: Junio C Hamano Date: Wed, 09 May 2012 21:54:24 GMT Subject: Re: Git commit path vs rebase path Message-ID: <7v62c5qaun.fsf@alter.siamese.dyndns.org> In-Reply-To: Steven Penny writes: > so the best compromise would be "C:/test/hello.sh" which can be created with > > diff --git a/git-sh-setup.sh b/git-sh-setup.sh > index 7b3ae75..ba198d2 100644 > --- a/git-sh-setup.sh > +++ b/git-sh-setup.sh > @@ -260,6 +260,11 @@ case $(uname -s) in > return 1 > } > ;; > +*CYGWIN*) > + pwd () { > + builtin cygpath -m > + } > + ;; What does "uname -s" say on cygwin exactly? Our existing system detection code I found was in the Makefile and it looks out "uname -o" output and compares it with "Cygwin". I am not suggesting to change this part of the code to use "uname -o" at all; I just want to double check that the above *CYGWIN* matches it.