git-svn: use platform specific auth providers
[gitweb.git] / git-sh-setup.sh
index 015fe6e336314c4994b68b966d41b5c09f97d956..7b3ae75d7a631fb07404ab85fa6d43ada74d8512 100644 (file)
@@ -90,7 +90,7 @@ $LONG_USAGE"
        fi
 
        case "$1" in
-               -h|--h|--he|--hel|--help)
+               -h)
                echo "$LONG_USAGE"
                exit
        esac
@@ -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]:*)