Skip to content

Commit d077649

Browse files
committed
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
2 parents e7779c2 + be39048 commit d077649

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

git-sh-setup.sh

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -248,6 +248,10 @@ case $(uname -s) in
248248
find () {
249249
/usr/bin/find "$@"
250250
}
251+
# git sees Windows-style pwd
252+
pwd () {
253+
builtin pwd -W
254+
}
251255
is_absolute_path () {
252256
case "$1" in
253257
[/\\]* | [A-Za-z]:*)

0 commit comments

Comments
 (0)