Browse Source

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>
maint
Ramsay Jones 13 years ago committed by Junio C Hamano
parent
commit
be39048a73
  1. 4
      git-sh-setup.sh

4
git-sh-setup.sh

@ -248,6 +248,10 @@ case $(uname -s) in @@ -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]:*)

Loading…
Cancel
Save