mirror of
https://github.com/git/git.git
synced 2024-11-08 02:03:12 +01:00
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
This commit is contained in:
commit
d07764959e
1 changed files with 4 additions and 0 deletions
|
@ -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…
Reference in a new issue