From: Junio C Hamano Date: Mon, 23 Apr 2012 20:01:46 +0000 (-0700) Subject: Merge branch 'rj/sh-setup-mswin-pwd' X-Git-Tag: v1.7.11-rc0~118 X-Git-Url: https://git.lorimer.id.au/gitweb.git/diff_plain/d07764959e5015598cd57048796aada526b8de68?hp=e7779c2eca417c0defd3cd8ad249b0b9cfc66d85 Merge branch 'rj/sh-setup-mswin-pwd' By Ramsay Jones * rj/sh-setup-mswin-pwd: git-sh-setup.sh: Add an pwd() function for MinGW --- diff --git a/git-sh-setup.sh b/git-sh-setup.sh index 5d8e4e6c89..7b3ae75d7a 100644 --- a/git-sh-setup.sh +++ b/git-sh-setup.sh @@ -248,6 +248,10 @@ case $(uname -s) in find () { /usr/bin/find "$@" } + # git sees Windows-style pwd + pwd () { + builtin pwd -W + } is_absolute_path () { case "$1" in [/\\]* | [A-Za-z]:*)