diff options
author | Ramsay Jones <ramsay@ramsay1.demon.co.uk> | 2012-04-17 19:48:39 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-04-18 13:06:19 -0700 |
commit | be39048a7385157e4b7baabd3e64fe186b428ea1 (patch) | |
tree | 5881c3e69f282d6a3a715292cdd768f83e8d4f27 | |
parent | Git 1.7.10 (diff) | |
download | tgif-be39048a7385157e4b7baabd3e64fe186b428ea1.tar.xz |
git-sh-setup.sh: Add an pwd() function for MinGW
Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk>
Acked-by: Johannes Sixt <j6t@kdbg.org>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
-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]:*) |