Re: Git commit path vs rebase path
- From
Junio C Hamano <gitster@pobox.com>
- Date
- May 9, 2012, 21:54 UTC
- Message-ID
- <7v62c5qaun.fsf@alter.siamese.dyndns.org>
- In-Reply-To
- <CAAXzdLVj0szCgpdOSdhnLdkBKAM+e6vrQpvrsz4HeUo+Nh1K6A@mail.gmail.com>
Steven Penny <svnpenn@gmail.com> writes:
Show 15 quoted lines
> 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.