diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-04-23 13:01:46 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-04-23 13:01:46 -0700 |
commit | d07764959e5015598cd57048796aada526b8de68 (patch) | |
tree | 3861ea9cda773abc4b0831f7f4d89d14b8f218d0 | |
parent | Merge branch 'rj/mingw-isguid' (diff) | |
parent | git-sh-setup.sh: Add an pwd() function for MinGW (diff) | |
download | tgif-d07764959e5015598cd57048796aada526b8de68.tar.xz |
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
-rw-r--r-- | git-sh-setup.sh | 4 |
1 files changed, 4 insertions, 0 deletions
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]:*) |